1832 lines
350 KiB
Plaintext
1832 lines
350 KiB
Plaintext
// Function signatures you have worked out, REPENTOGON syntax, one per line. Applied only where the callee's RET n agrees
|
|
// with the declared stack parameters (scripts/ApplyProtos.java). Tried before REPENTOGON's declaration of the same name.
|
|
// Other registers, REPENTOGON notation: `__thiscall void Game::SetBloom(int time, float strength<xmm2>);`, a `float<xmm0>`
|
|
// return, `static cleanup bool Entity::ForceCollide(Entity* a<ecx>, Entity* b<edx>, bool isLow);` (caller pops the stack).
|
|
__fastcall void seed_fart_sound_override(int* soundId); // plain RET, only ECX read (no EDX/stack); callers lea ecx,[local] holding sound id 0x50/0x4d/0x109, write 0x25 back
|
|
__thiscall void KAGE::Network::Multiplayer::ConstLobby::~ConstLobby(); // plain RET; ECX this: vftable store at [ecx], releases control block at this+8
|
|
__thiscall Vector* Vector::Normalized(Vector* outResult); // RET 0x4; ECX = source vector, [ebp+8] out, returns it
|
|
__thiscall bool Entity::IsFrame(int frequency, int offset); // RET 0x8; (frameCount+offset) % frequency == 0 -> sete al
|
|
__thiscall ColorMod* Color::operator_assign(ColorMod* other); // RET 0x4; 0x2c-byte copy ECX <- [ebp+8], mov eax,ecx (also fits 004071c0)
|
|
__thiscall bool Entity::IsVulnerableEnemy(Entity* source); // RET 0x4; [ebp+8] null-checked, type==1, IsDescendantOf
|
|
__thiscall Entity_Effect* Entity_NPC::MakeSplat(float size); // RET 0x4; movss [ebp+8] -> effect +0xe4/+0xe8 (_spriteScale), returns effect
|
|
__thiscall void* xml_node::first_node(char* name, int nameSize, bool isCaseSensitive); // RET 0xc; callee strlen()s name itself; callers sub esp,8 + push name
|
|
__thiscall Vector* Room::GetRandomPosition(Vector* outPosition, float margin); // RET 0x8; [ebp+8] out returned, [ebp+0xc] float margin
|
|
__thiscall void AnimationState::SetAnimationData(void* animData); // RET 0x4; [ebp+8] -> this->_animData, reallocs layer frame arrays
|
|
__thiscall void Entity::SetParent(Entity* parent); // RET 0x4; [ebp+8] -> this+0x3bc, multiset erase/insert at parent+0x3cc
|
|
__thiscall bool ANM2::WasEventTriggered(char* eventName); // RET 0x4; forwards [ebp+8] to AnimationState::WasEventTriggered(this+0x30)
|
|
__thiscall void SFXManager::Stop(int soundId); // RET 0x4; [ebp+8] indexes 0x1b8-byte sound array at [ecx]
|
|
__stdcall void deallocate(void* ptr, unsigned int count); // RET 0x8; ECX never read; [ebp+8] ptr, [ebp+0xc] count*4 (all 11 'deallocate' are identical)
|
|
__thiscall void Color::__mul(ColorMod* other); // RET 0x4; in-place multiply ECX by [ebp+8], no eax result
|
|
__thiscall void Entity_NPC::UpdateControllerMovement(bool isForceUpdate); // RET 0x4; byte [ebp+8] forces store even when input is zero
|
|
__thiscall Entity_Familiar* Entity_Player::AddWisp(int collectibleId, Vector* position, bool isAdjustOrbitLayer, bool isDontUpdate); // RET 0x10; caller: push 0; push 0; push &pos; push 0x249; mov ecx,player
|
|
__thiscall void Entity::AddVelocity(Vector* velocity, bool isIgnoreSpeedMultiplier); // RET 0x8; byte [ebp+0xc] != 0 uses 1.0 instead of _speedMultiplier
|
|
__stdcall void lua_callback_run_pre_entity_spawn(int* type, int* variant, Vector* position, Vector* velocity, Entity* spawner, int* subType, unsigned int* seed); // RET 0x1c; reads [ebx+8..0x20], ECX overwritten first; caller pushes &type(1000), &variant, &pos, &g_vectorZero, 0, &subtype, &seed
|
|
__thiscall Vector* GridEntity::Position(Vector* outPosition); // RET 0x4; eax = [ebp+8] written from _gridIndex*40
|
|
__fastcall int png_crc_finish(void* pngPtr, unsigned int skip); // plain RET, ECX png_ptr + EDX skip count, no stack args
|
|
__thiscall void Sprite::SetFrame_1(int frame); // RET 0x4; cvtdq2ps [ebp+8] -> AnimationState::SetFrameFloat
|
|
__thiscall Vector* Vector::__mul(Vector* outResult, float* scalar); // RET 0x8; [ebp+8] out (returned), [ebp+0xc] float ptr
|
|
__thiscall void MenuManager::SetState(int state, bool isRebuildStack); // RET 0x8; byte [ebp+0xc]==0 just switches, else rebuilds menu stack
|
|
__thiscall Vector* Entity_NPC::GetAimTargetPosition(Vector* outPosition); // RET 0x4; eax = [ebp+8] gets pos of _aimTargetEffect or own
|
|
__thiscall void Entity::convert_shot_for_enemy_owner(Entity* shot); // RET 0x4; callers push tear; mov ecx,familiar; eax unused after call
|
|
__thiscall Vector* Vector::__sub(Vector* outResult, Vector* other); // RET 0x8; out = this - other, eax = out
|
|
__stdcall void* KAGE_Memory::heap_alloc(unsigned int heapId, uint64_t* size); // RET 0x8; ECX loaded with constant before use; callers push &size(eax:edx from cdq); push 2
|
|
__thiscall bool SFXManager::IsPlaying(int soundId); // RET 0x4; [ebp+8] sound index
|
|
__thiscall int Font::get_string_width_utf16(uint16_t* text, int length); // RET 0x8; callers push -1; push text; length -1 = until NUL (FUN_00a55b00)
|
|
__thiscall Vector* Vector::operator_assign(Vector* other); // RET 0x4; 8-byte copy, mov eax,ecx
|
|
__cdecl void pop_render_target(); // plain RET, no args (push ecx is a stack slot)
|
|
__thiscall void KAGE::SmartPointer::SmartPointer(void* image); // RET 0x4; zeroes ECX[0..1] then wraps [ebp+8] in ReferenceCount
|
|
__stdcall int ItemPool::GetPill(unsigned int seed); // RET 0x4 (at 00734a71); ECX never read; callers push seed, eax = pill color
|
|
__stdcall void* KAGE_Graphics::create_render_target(void* outTarget, int width, int height, char* name, KColor* clearColor); // RET 0x14; no ECX; caller push &KColor; push "Pixelation Surface"; push h; push w; push &out
|
|
__thiscall void NetplayManager::send_message(unsigned int flags, void* message, void* messageRefCount); // RET 0xc; flags + by-value shared_ptr (8 bytes): callers sub esp,8 / copy-construct at esp, push 1
|
|
__thiscall void GridEntity_Door::Open(); // plain RET, ECX door
|
|
__thiscall Vector* Vector::operator_mul_assign(float* scalar); // RET 0x4; scales ECX by *[ebp+8], mov eax,ecx
|
|
__thiscall void Entity_NPC::SetAimAngle(float angle); // RET 0x4; movss [ebp+8] -> +0x418/+0x41c, angle-90 -> +0xec
|
|
__thiscall bool Entity_Player::IsHoldingItem(); // plain RET; compares body anim name with "Pickup"
|
|
__thiscall void ColorQuad::ColorQuad(KColor* color); // RET 0x4; copies 5-dword color from [ebp+8] into 4 corners
|
|
__thiscall void SourceQuad::SourceQuad(void* source); // RET 0x4; copies 4 corner Vectors + dword from [ebp+8]
|
|
__thiscall void PopupManager::close(int* popupId, int* result); // RET 0x8; [ebp+8] popup id ptr, [ebp+0xc] result ptr
|
|
__thiscall void shared_ptr::operator_assign(void* other); // RET 0x4; copy-and-swap from [ebp+8]
|
|
__thiscall void Entity_Familiar::FollowParent(); // plain RET; aligned frame reads no [ebx+8..]; ECX familiar
|
|
__thiscall void Weapon::UpdateHeadChargeAnimation(int collectibleId, int chargeType, Vector* direction, float charge); // RET 0x10; caller push -1.0f; push &dir; push 2; push 0xe5 / 0x76; mov ecx,weapon
|
|
__thiscall void Entity_Player::BreakGoldenHearts(int count); // RET 0x4; single [ebx+8] arg
|
|
__thiscall void Entity_Familiar::PlayShootAnim(int direction); // RET 0x4
|
|
__thiscall bool KAGE::Filesys::File::open(char* path); // RET 0x4; [ebp+8] -> path_join, fopen "rb"; mov al,1 / xor al,al
|
|
__thiscall bool Room::is_type_16(); // plain RET; cmp [ecx+8],0x10; sete al
|
|
__thiscall int stb_vorbis::get8_packet_raw(); // plain RET; ECX = vorbis decoder, returns byte or -1
|
|
__thiscall void* Font::layout_glyphs(void* outRun, char* text, void* settings, Vector* boxSize); // RET 0x10; caller push &Vector(xmm2,xmm3); push settings; push [esi] text; push &out
|
|
__thiscall bool Room::IsBeastDungeon(); // plain RET; stage 0x23 && type 0x10
|
|
__stdcall EntityList* Entity_NPC::QueryNPCsGroup(EntityList* outList, int groupIdx); // RET 0x8 (at 006d0ebc); ECX overwritten with g_game before use; callers push [npc+0xc7c]; push &list
|
|
__thiscall bool Entity_Familiar::TryFireTear(Entity_Tear* tear); // RET 0x4; [ebp+8] tear
|
|
__cdecl void TextureCache::Purge(); // plain RET; ECX never read, walks g_textureCacheMap
|
|
__thiscall Vector* Vector::__unm(Vector* outResult); // RET 0x4; eax = [ebp+8] = -this
|
|
__thiscall void Entity_Knife::SetAttackAnimation(); // plain RET; aligned frame, no [ebx+8..] reads
|
|
__thiscall void LobbySettings::reset(); // plain RET, ECX this; fits both 0085b050 (really the ctor) and 0085b280
|
|
__thiscall void Entity_Player::TryRemoveCollectibleCostume(int collectibleId, bool isKeepPersistent); // RET 0x8; callee ignores 2nd; callers push 0; push id; mov ecx,player
|
|
__thiscall bool GridEntity_Door::TryUnlock(Entity_Player* player, bool isForce); // RET 0x8; [ebp+8] player (+0x20a9), byte [ebp+0xc]
|
|
__thiscall int Entity::FrameCount(); // plain RET; frameCount - [ecx+0x328]
|
|
__thiscall void Entity_Familiar::PlayFloatAnim(int direction); // RET 0x4
|
|
__thiscall int Room::GetAliveEnemiesCount(); // plain RET; max(0, [ecx+0x12c0]+[ecx+0x12c4])
|
|
__thiscall void Entity::SetVisibleFlag(bool isVisible); // RET 0x4; byte [ebp+8] -> +0xc3c unless FLAG_FRIENDLY
|
|
__thiscall BitSet128* Entity_Tear::TearFlags(BitSet128* outFlags); // RET 0x4; movups [ecx+0x428] -> [ebp+8], eax = out
|
|
__fastcall void* KAGE::Network::Multiplayer::LobbySteam::find_or_create(void* outLobby, uint64_t* lobbyId); // plain RET; ECX out (caller sub esp,8; mov ecx,esp), EDX = &64-bit id; callers use eax
|
|
__thiscall Entity_Player* PlayerManager::RandomTrinketOwner(int trinketId, unsigned int seed, RNG** outRng); // RET 0xc; REPENTOGON decl with TrinketType -> int
|
|
__cdecl Vector* Entity_Laser::CalculateEndPoint(Vector* outEndPoint, Vector* start, Vector* direction, Vector* positionOffset, Entity* parent, float margin); // plain RET, callers add esp,0x18; ECX not read; parent+0x28 type check
|
|
__thiscall int Room::GetShopItemPrice(unsigned int variant, int subType, int shopItemId, Entity_Player* player); // RET 0x10 (REPENTOGON's 3-arg decl is stale); callers push 0(player); push shopId; push subtype; push variant
|
|
__thiscall void MusicManager::EnableLayer(int layerId, bool isInstant); // RET 0x8; layer < 6 bitset, byte [ebp+0xc]
|
|
__thiscall void Entity_Player::SetFullHearts(); // plain RET, ECX player
|
|
__thiscall unsigned int Level::filter_curses(unsigned int mask); // RET 0x4; ~prevented & (forced|debug|level) & [ebp+8]
|
|
__cdecl unsigned int Random(); // plain RET, ECX/EDX not read before first call; MT19937 result returned in EAX
|
|
__thiscall Entity* Game::Spawn(unsigned int type, unsigned int variant, Vector* position, Vector* velocity, Entity* spawner, unsigned int subType, unsigned int seed); // RET 0x1c; thunk to Game::SpawnEx adding 0 flag, ECX passed through; 00431ec9 pushes seed,2,0,&vel,&pos,2,0x3e8 and uses EAX as entity
|
|
__thiscall EntityList_EL* EntityList::QuerySublist(EntityList_EL* outResult, int type, int variant, int subType, bool isCache, bool isIgnoreFriendly); // RET 0x18; = REPENTOGON EntityList::QueryType; 00437c9b ECX=Room+0x1218, pushes 0,0,0x160,0xce,3,&result
|
|
__thiscall void Color::Color(); // plain RET, ECX=this filled with 1,1,1,1,0...
|
|
__thiscall void AnimationState::Render(Vector* position, Vector* topLeftClamp, Vector* bottomRightClamp); // RET 0xc; 0040a10d pushes 3 ptrs; args forwarded to AnimationLayer::RenderFrame
|
|
__thiscall Entity_Player* PlayerManager::FirstCollectibleOwner(int collectibleId, RNG** rng, bool isLazSharedGlobalTag); // RET 0xc; 004f9b0b pushes 1,ECX,0x179, tests EAX
|
|
__thiscall void LuaRef::push(void* luaState); // RET 0x4; lua_rawgeti(L, REGISTRY, this->ref); 006b5ecd pushes L
|
|
__thiscall bool Sprite::ReplaceSpritesheet(int layerId, std_string* pngFilename); // RET 0x8; bounds-checks layerId vs _layerCount, assigns string, returns 1/0 in AL
|
|
__thiscall bool KAGE::Input::Manager::query_devices(int deviceIndex, void* predicate, void* predicateArg, int predicateArg2, int* outDeviceId); // RET 0x14; vtable slot +0x74, input_is_action_triggered calls (controllerId, cb, &arg, 0, 0); -1 iterates all devices, returns 1/0
|
|
__cdecl Entity_Laser* Entity_Laser::ShootAngle(int variant, Vector* sourcePos, float angleDegrees, int timeout, Vector* posOffset, Entity* source, bool isSpawnFlag); // plain RET, ECX not an arg (push ecx = stack slot); 004379d2 pushes 0,source,offset,0x14,angle,pos,1; returns SpawnEx laser
|
|
__fastcall Vector* Vector::ToCardinal(Vector* outResult, Vector* vec); // RET 0 (no stack args); ECX = out (returned in EAX), EDX = source vector; 004387fc lea ecx/lea edx, no pushes
|
|
__thiscall int Font::get_string_width_n(char* str, int length); // RET 0x8; 005cd00e ECX=g_manager+0x4afa4 font, pushes -1,str; EAX int width (0042adf2 cvtdq2pd eax)
|
|
__thiscall void render_quad_set_rect(Vector* position, Vector* size, KColor* color); // RET 0xc; ECX = quad vertex struct (only ECX, so not __fastcall); 00419e14 pushes 3 ptrs; color is 5 floats = KColor
|
|
__thiscall void Vector::Normalize(); // plain RET, ECX=this, normalised in place; 0043b381 lea ecx, no pushes
|
|
__thiscall std_string* ANM2::GetAnimation(std_string* outName); // RET 0x4; returns out; ECX+4 read as animData, callers pass lea ecx,[sprite+0x30]: really AnimationState::GetAnimation
|
|
__thiscall void KAGE::SmartPointer::reset(void* image); // RET 0x4; stores param into this[0] with new refcount; 0040844d push 0
|
|
__thiscall void Mutex::ScopeLock::~ScopeLock(); // plain RET, ECX=this (lea ecx,[ebp-0x18] at 00a61770)
|
|
__stdcall int lua_callback_run_get_card(RNG* rng, int card, bool isPlaying, bool isRunes, bool isOnlyRunes); // RET 0x14 at 00865485 (beyond Ghidra body); ECX not read; 0042b71d pushes ?,1,1,card,&rngCopy; returns card override
|
|
__thiscall bool ANM2::IsFinishedImpl(char* animName); // RET 0x4; 0044e65b push string, test al
|
|
__thiscall void EntityList::AddEntity(Entity* entity); // RET 0x4 at 004186b5 (past Ghidra's truncated body); ECX=Room+0x1218
|
|
__thiscall void* std_tree_extract(void* node); // RET 0x4; ECX=tree (0040e4cc mov ecx,0xc78ee0), push node, EAX node
|
|
__thiscall void* xml_node::first_attribute(char* name, unsigned int nameSize, bool isCaseSensitive); // RET 0xc; rapidxml first_attribute(name=0,size=0,case=true); 0040fb86 ECX=node
|
|
__thiscall void GridEntity::GridEntity(); // plain RET, ECX=this (00461e06 mov ecx,esi)
|
|
__thiscall void* SaveDataManager::open_file_write(char* path, int mode); // RET 0x8; 00686a28 ECX=0xc5aa80 pushes 0,path; returns File* or 0
|
|
__thiscall bool input_is_action_triggered(int buttonAction, int controllerId, Entity* entity, bool isSkipOverrides); // RET 0x10; ECX=g_manager (004adf4e pushes 0,0,-1,0xe); arg3 -> MC_INPUT_ACTION entity, arg4 skips the +0x4b3d8 override list
|
|
__cdecl Entity_NPC* Entity_NPC::ThrowSpider(Vector* position, Entity* spawner, Vector targetPos, bool isBig, float yOffset); // plain RET, callers add esp,0x18 (00437400: &pos,0,vecZero.x,vecZero.y,0,-30.0f); EAX = spawned NPC
|
|
__stdcall void MenuManager::push_menu(int menuId, int unused); // RET 0x8; ECX not read (uses g_menuManager); [ebp+0xc] never read, callers push ecx as filler (008c9806 push ecx; push 0xc)
|
|
__thiscall void* NetConnection::send_message(void* outMessage, int messageType, void* data, unsigned int length, bool isReliable); // RET 0x14 at 00a78366; 008eb6dc pushes 0,0x10,&data,1,&out; returns out
|
|
__thiscall void Entity::RemoveStatusEffects(); // plain RET, ECX=this
|
|
__thiscall bool Entity::IsHostileTo(Entity* other); // RET 0x4; 004daec9 push entity, test al
|
|
__thiscall void Weapon::Fire(Vector* position, bool isShooting, bool isInterpolated); // RET 0xc; vtable slot 3; 009f9b7e pushes 3
|
|
__thiscall void Entity::BloodExplode(); // plain RET, ECX=this
|
|
__thiscall void Font::DrawString(char* str, Vector* position, Vector* scale, KColor* color, void* settings); // RET 0x14; this exe takes Vector* not by-value (REPENTOGON decl sums 0x1c); 0078c8f0 pushes settings,color,&scale(0.5,0.5),&pos,str
|
|
__thiscall void PathFinder::UpdateGridIndex(); // plain RET, ECX=npc+0x414
|
|
__stdcall void* kage_graphics_flush(void* renderState); // RET 0x4; ECX written before read; 006b16e1-style callers push state or 0; returns batch ptr
|
|
__thiscall bool Level::IsMausoleumHeartStage(); // plain RET, ECX=Level, test al at 005b8ae0
|
|
__thiscall void Entity_Projectile::SetHeight(float height); // RET 0x4; float read from [ebp+8]; 0043d477 push ecx/movss [esp]
|
|
__thiscall void* NetworkManager::receive_message(void* outMessage, uint8_t channel, bool isRemove); // RET 0xc at 00a7893c; 008fd586 pushes 0,4,&out (peek) and 008fd5e4 1,4,&out (pop)
|
|
__thiscall int InputManager::FirstLocalDeviceID(); // plain RET, ECX=g_manager+0x4b3d8 (008d337d); EAX device id or -1
|
|
__thiscall Vector* GridEntity::get_render_position(Vector* outPosition); // RET 0x4; EDX only from cdq; returns out
|
|
__thiscall Vector* Weapon::get_tear_movement_inheritance(Vector* outResult, Vector* direction); // RET 0x8; 009f8187 pushes 2 ptrs, uses [eax]
|
|
__thiscall void Entity_Player::PlayExtraAnimation(char* animName); // RET 0x4; 005b22db push string
|
|
__cdecl int PlayerManager::GetGFuelCount(); // plain RET; ECX (=g_game at 005d48a5) overwritten before use, reads g_game; EAX count
|
|
__thiscall int Entity_Familiar::RecalculateOrbitOffset(int layer, bool isAdd); // RET 0x8; 0043df3f pushes 0,layer
|
|
__thiscall void* Sprite::GetNullFrame(char* nullLayerName); // RET 0x4; 004bda1a push string, test eax
|
|
__thiscall void IsaacRepentancePlus::Weapon::~Weapon(); // plain RET, ECX=this; callers ignore EAX
|
|
__thiscall int Entity_Player::GetCollectibleMaxCharge(int collectibleId, int varData, int unused); // RET 0xc; [ebp+0x10] never read; 007a5ad6 pushes ecx,1,0x23
|
|
__thiscall EntityRef* EntityRef::operator_(EntityRef* other); // RET 0x4; copies 10 dwords, EAX=ECX
|
|
__thiscall void Entity::AddEntityFlags(uint64_t flags); // RET 0x8; ORs [ebp+8] into +0x168 and [ebp+0xc] into +0x16c; 005b432e pushes 0,0x10000000
|
|
__thiscall Vector* Vector::operator_add_assign(Vector* other); // RET 0x4; EAX=ECX
|
|
__thiscall void Entity_Player::ResetItemState(); // plain RET, ECX=player
|
|
__thiscall void Entity_NPC::SetRef_bec(Entity* entity); // RET 0x4; 0045545e push esi
|
|
__thiscall Entity_NPC* Entity_NPC::ChildNPC(); // plain RET at 0045681e; ECX=this; EAX deref'd by caller 0047c3d3
|
|
__thiscall void shared_ptr::assign(void* other); // RET 0x4; 004191f7 push src
|
|
__thiscall unsigned int memory_stream_read(void* dst, unsigned int size, unsigned int count); // RET 0xc; ECX-0x28 adjusted this; 00916480 pushes 1,4,&dst
|
|
__thiscall void Manager::BackupSaveFile(); // plain RET, ECX=g_manager (006fa1bb)
|
|
__thiscall bool Entity_Player::IsFullSpriteRendering(); // plain RET, test al at 0077de51
|
|
__thiscall Vector* Entity_Familiar::GetOrbitPosition(Vector* outPosition, Vector* offset); // RET 0x8; 0043ad73 pushes 2 ptrs
|
|
__stdcall void render_color_quad(Vector* from, Vector* to, KColor* fromColor, KColor* toColor, float thickness); // RET 0x14; ECX not read; 0042de8a [esp]=1.0f then 4 ptrs; draws a line quad of thickness
|
|
__thiscall Vector* Vector::__div(Vector* outResult, float* divisor); // RET 0x8; one divisor *[ebp+0xc] for x and y; EAX=out
|
|
__thiscall Entity_Player* PlayerManager::GetRandomPlayer(int unused, unsigned int seed); // RET 0x8 at 009be62d; [ebp+8] unused, callers push seed then push ecx (00506e07)
|
|
__thiscall void Room::TriggerBossDeath(Entity* entity); // RET 0x4 at 0080044f (Ghidra body truncated at KAGE_LogMessage); 0044056b push edi, ECX=room
|
|
__thiscall void Entity_Player::ShootCandle(Vector* direction); // RET 0x4; [ebp+8] never read (callers pass &g_vectorZero or ecx filler)
|
|
__thiscall void Seeds::AddSeedEffect(int seedEffect); // RET 0x4; 006f548d push id
|
|
__thiscall void Entity::SetSpawnerEntity(Entity* spawner); // RET 0x4; 005d0273 push eax
|
|
__thiscall bool Entity_Familiar::is_detached_from_follow(); // plain RET, ECX=this, test al
|
|
__thiscall void ShockwaveParams::ShockwaveParams(); // plain RET, ECX=this
|
|
__thiscall void Entity_Effect::set_rotation(float rotation); // RET 0x4; float from [ebp+8] stored to +0x474
|
|
__thiscall bool Entity::is_player(); // plain RET, sete al on [ecx+0x28]==1
|
|
__stdcall void KAGE::System::LeaderboardManager::release_result(int handle); // RET 0x4; ECX not read; 00857078 push -1
|
|
__stdcall void PlayerManager::GetPlayerColorValue(KColor* outColor, int playerColor); // RET 0x8; ECX overwritten first; 0042d08b pushes 5,&out
|
|
__thiscall bool Entity_Laser::is_thick_variant(); // plain RET, switch on [ecx+0x2c]
|
|
__fastcall void DateTime::set_from_yyyymmdd(void* dateTime, int yyyymmdd); // RET 0, ECX=struct, EDX=date; callers 00426aa0 no pushes/no cleanup
|
|
__thiscall Vector* Room::get_random_pickup_position(Vector* outPosition, bool isAvoidActiveEntities, bool isAllowPits); // RET 0xc; 00459637 pushes 0,0,&out; args forwarded to FindFreePickupSpawnPosition
|
|
__thiscall int Entity_Player::get_seeded_variant(); // plain RET; ECX passed through to is_achievement_79_unlocked (mov esi,ecx)
|
|
__cdecl bool Weapon::is_held_item(ANM2* sprite, std_string* animName, void* itemDesc); // plain RET, callers add esp,0xc (0075a774)
|
|
__thiscall void Game::StartStageTransition(bool isSameStage, int transitionOverride, Entity_Player* player); // RET 0xc at 006fe2de (past Ghidra's truncated body); 005c7bde pushes player,1,1
|
|
__thiscall float Vector::Dot(Vector* other); // RET 0x4; x87 fld/fmul/faddp result in ST0; 005e44ba push ptr, ECX=this, fstp after call
|
|
__thiscall void EntityList_Query::~EntityList_Query(); // plain RET; ECX=this only, 004346d0 caller lea ecx,local then call, no pushes
|
|
__thiscall bool Entity::HasEntityFlags(uint64_t flags); // RET 0x8; [ebp+8]&[ecx+0x168], [ebp+0xc]&[ecx+0x16c], returns AL; 004348ac caller push 4/push 0
|
|
__thiscall void PathFinder::FindGridPath(Vector* targetPos, float speed, int pathMarker, bool isUseDirectPath); // RET 0x10; 0043f200 caller ecx=npc+0x414, push 1, push 0, float 0.6, push vec ptr
|
|
__thiscall void* KAGE::SmartPointer::operator_assign(void* other); // RET 0x4; also matches the other same-named 0040c3b0 (RET 0x4, copy-and-swap, returns this via mov eax,edi); 0040c550 copies {ptr,refobj} from [ebp+8], returns this (mov eax,esi), zeroes this first so it is really the copy constructor; 00408622 caller push one ptr
|
|
__thiscall void luabridge::Namespace::ClassBase::createClassTable(const char* name); // RET 0x4; [ebp+8] pushed to lua_pushstring then "__type"; 008a082f caller push 0xb74c7c string
|
|
__fastcall Vector* Isaac::GetAxisAlignedUnitVectorFromDir(Vector* outVector, int direction); // plain RET, ECX=out (returned in EAX), EDX=dir (>3 -> zero vector); 0043bd61 caller lea ecx,local / edx=[esi+0x162c]
|
|
__thiscall void Sprite::SetColor(ColorMod* color); // RET 0x4; copies 0x2c bytes from [ebp+8] into this+0xa8; 00438d52 caller pushes one ptr
|
|
__thiscall bool PlayerManager::AnyoneHasTrinket(int trinketType); // RET 0x4; [ebp+8]&0x7fff indexes itemConfig trinkets, returns AL; 0044f533 caller push 0x3f; REPENTOGON's TrinketType param type is unknown to ApplyProtos
|
|
__thiscall void PathFinder::EvadeTarget(Vector* targetPos, bool isIgnoreStatusEffects); // RET 0x8; byte arg 0 -> friendly-charm check (like MoveRandomly); 0046473f caller push 0, push lea vec
|
|
__thiscall bool PathFinder::MoveRandomly(bool isIgnoreStatusEffects); // RET 0x4; arg 0 -> is_entity_friendly redirect; returns 0/1 (Lua returns boolean); 0045260f caller push 0, ecx=npc+0x414
|
|
__thiscall void KAGE::System::UserProfile::load_steam_avatar(); // plain RET; only ECX=this ([ebx+4]...); 00429991 caller lea ecx,local, no pushes, EAX unused
|
|
__thiscall void Entity::SetSize(float size, Vector sizeMulti, int numGridCollisionPoints); // RET 0x10 = 4+8+4; -1 defaults from config +0x3c/+0x40/+0x48; 0043a8d3 caller push -1, push y, push x, 80.0f
|
|
__stdcall bool shader_cache_find(int unusedArg); // RET 0x4 but [ebp+8] never read (name "KAGE_ColorTextureShader" constant-propagated); returns AL; 00409873 caller push ecx (junk)
|
|
__thiscall int Entity_NPC::GetAliveEnemyCount(); // plain RET; reads [ecx+0x168] flags, returns count in EAX; 0047da9c caller ecx=npc, test eax,eax
|
|
__stdcall void Entity::RemoveWithPoof(Entity* entity, int unusedArg); // RET 0x8, ECX never read, entity is [ebp+8] (type 0x3b6 check, pos +0x33c), [ebp+0xc] never read; 0043a99c caller push ecx (junk), push entity
|
|
__thiscall void* ANM2::GetAnimationData(const char* name); // RET 0x4; byte-wise strcmp of [ebp+8] vs entry std::string (stride 0x13c), returns entry or 0; 0040b0ce caller push one arg
|
|
__thiscall void* AnimationState::GetNullFrameById(int nullLayerId); // RET 0x4; matches layer id, returns frame ptr (idx*0x54+base) or 0; 0040b1b7 caller push [ebp+8], ecx+0x30
|
|
__thiscall int PopupQueue::push(void* desc); // RET 0x4; copies desc into new Popup, returns its id in EAX; 0083d34b caller push lea local, ecx=g_manager+0x4d070, stores EAX
|
|
__thiscall void Sprite::RenderLayer(int layerId, Vector* position, Vector* topLeftClamp, Vector* bottomRightClamp); // RET 0x10; [ebp+8] layer idx forwarded to FUN_0040a080 (bounds-checked vs layer count); 004e0908 caller push zero-vec, push zero-vec, push pos ptr, push 1
|
|
__thiscall void Game::StartRoomTransition(int roomIndex, int direction, int animation, Entity_Player* player, int dimension); // RET 0x14; 004213c2 caller push -1, 0, 1, -1, -10 (Lua order RoomIndex, Direction, Animation, Player, Dimension)
|
|
__thiscall Vector* Entity::GetNullOffset(Vector* outOffset, const char* nullLayerName); // RET 0x8; [ebp+0xc] -> AnimationState::GetNullFrame, writes out [ebp+8] and returns it in EAX; 00443d1a caller push 0xb1d34c string, push lea local
|
|
__thiscall void TemporaryEffects::RemoveEffect(TemporaryEffect* effect, int count); // RET 0x8; matches [effect] (_item) against list entries, count clamps the decrement; 0062b45d caller push 1, push lea local TemporaryEffect
|
|
__thiscall bool Game::IsInTimedSet(int key); // RET 0x4; [ebp+8] looked up in std::set at this+0x1bbd8, returns AL; 0066de01 caller ecx=g_game, push 0x4f
|
|
__fastcall void vector_LevelGenerator_Room_tidy(void* vec); // plain RET; ECX=vector {begin,end,cap} (stride 0x48), EDX written before read; 00741c95 caller lea ecx,local, no pushes
|
|
__thiscall void BlendMode::SetMode(int mode, int unusedArg); // RET 0x8; [ebp+8] mode 0/1/2 fills 5 factor ints at this, [ebp+0xc] never read; 0044ec69 caller push ecx (junk), push 2
|
|
__thiscall Vector* Room::FindFreeTilePosition(Vector* outPos, Vector* pos, float distanceThreshold); // RET 0xc; [ebp+0xc] pos read as grid coords, result stored through EAX=out at both rets; 0042a9be caller push 0.0f, push pos, push lea local
|
|
__thiscall bool EntityList::HitListContains(Entity* entity); // RET 0x4; Entity::GetHitListIndex([ebp+8]) binary-searched in uint vector at this; 00434ca4 caller push edi, ecx=esi+0xdac, test al
|
|
__stdcall bool Manager::IsGameplayInputActive(int unusedArg); // RET 0x4, ECX never read (uses g_manager), [ebp+8] never read; 006ada8f caller push ecx (junk), test al
|
|
__thiscall int Entity::apply_second_hand_duration(int duration, EntityRef* source); // RET 0x8; [ebp+0xc]+0x24 = EntityRef._entity walked to root spawner, Second Hand trinket check; 006ad3f0 caller push source, push duration, uses EAX
|
|
__thiscall bool KAGE::Mutex::Lock(int timeoutMs); // RET 0x4; [ebp+8]==-1 -> EnterCriticalSection, else TryEnter loop with Sleep until timeout, returns 1 on success; vtable +0xc caller (input_poll_active_device) passes 0xffffffff
|
|
__thiscall void Entity_Player::UpdateHeartDependentEffects(); // plain RET; ECX=player (+0x1344, +0x1da4), no stack args; 005b659a caller mov ecx,edi then call
|
|
__fastcall void MessagePopup::add_ok_button(const char* text, void* popupDesc); // plain RET, no stack args; ECX stored as text of the first entry, EDX=popup (+0x54 list, +0x84 cleared); 008e1244 caller ecx=0xb79378, edx=lea desc
|
|
__thiscall bool Item::IsAvailable(unsigned int flags); // RET 0x4; also matches same-named Lua wrapper 006ef3c0 (RET 0x4, byte arg b -> calls 007300d0 with (b^1)*2-3), where the slot is really a bool; ECX=ItemConfig item (+0xb3), [ebp+8] flag mask 1/2/4/8, returns AL; 005c6c9a caller push 3, test al
|
|
__thiscall void* KAGE::Network::Multiplayer::ConstLobby::ConstLobby(void* lobbyPtr, void* lobbyCtrl); // RET 0x8 = one by-value std::shared_ptr (ptr at [ebp+8], control block [ebp+0xc] released at exit), returns this (mov eax,edi); 00a54248 caller sub esp,8 + copy-constructs the shared_ptr at esp
|
|
__thiscall void* Weapon::GetMultiShotParams(void* outParams, int unusedArg); // RET 0x8; [ebp+8] out (0x24-byte MultiShotParams, forwarded to Entity_Player::GetMultiShotParams with weapon type +0x30), returned in EAX, [ebp+0xc] never read; 009f9d68 caller push ecx (junk), push lea local
|
|
__thiscall Vector* Room::GetGridPosition(Vector* outPos, int gridIndex); // RET 0x8; idx [ebp+0xc] div gridWidth (+0xc) -> x*40+40, y*40+120 stored to [ebp+8], EAX=out; 004ba4ee caller pushes 0 (junk slot?), idx, out and uses EAX
|
|
__thiscall void ChallengeParam::Reset(); // plain RET; ECX=this (+0x18 set, vectors +0x20/+0x2c...), no stack args; 00424404 caller (DailyChallenge init) ecx=edi+0x10
|
|
__thiscall Vector* Weapon::get_owner_position(Vector* outPos); // RET 0x4; owner [ecx+4]->_pos (+0x33c) or g_vectorZero stored to [ebp+8], EAX=out; 009f3725 caller push lea local, then push eax
|
|
__thiscall bool Entity_Player::HasPlayerForm(int playerForm); // RET 0x4; [ebp+8]<0x10 indexes _playerForms (+0x17dc) >=3, returns AL; 00434838 caller push 0, ecx=npc+0x410 player
|
|
__stdcall Entity_Player* Game::GetNearestPlayerEx(Vector* pos, bool isMainPlayerOnly, bool isGroundedOnly, bool isIncludeUncollidable); // RET 0x10, ECX never read (uses g_game); arg2 -> variant 0/not coop ghost/no parent/not hologram, arg3 -> gridCollisionClass==5, arg4 false -> needs collisionClass!=0; 005040e9 caller push 0,0,0, push lea vec, test eax
|
|
__thiscall bool Entity::IsFriendly(); // plain RET; [ecx+0x168]&0x20000000 -> AL; 0045e4bf caller ecx=edi, test al
|
|
__thiscall void* ANM2::GetLayerFrame(int nullLayerId); // RET 0x4; null animData guard then AnimationState::GetNullFrameById(this+0x30, [ebp+8]) -> frame ptr; 004c29f9 caller push 2, ecx=npc+0x48
|
|
__thiscall RoomDescriptor* RoomDescriptor::Init(unsigned int seed); // RET 0x4; [ebp+8] stored at this+0, RNG shift constants next to it, returns this; 00741233/0074301f callers push the freshly advanced RNG value (also saved to level +0x182d4)
|
|
__thiscall bool GridEntity_Door::TryBlowOpen(bool isFromExplosion, Entity* source); // RET 0x8; byte arg + [ebp+0xc] null-check then reads +0x28 type==3/+0x2c variant==0xdf (an Entity, not an EntityRef); 0043e399 caller push 0, push 0
|
|
__thiscall GridEntity* Room::GetGridEntityFromPos(Vector* pos); // RET 0x4; [ebp+8] x/y -> grid idx (<0x1c0), returns _gridEntities[idx]; 004862d2 caller push lea vec, ecx=g_game->_room, test eax
|
|
__thiscall bool FileSystem::open_archive_file(const char* path, void** outFile); // RET 0x8; [ebp+8] -> GetPrimaryFilePathHash, [ebp+0xc] optional out (new 0xc2c archive file), returns AL; 00a16cdc caller ecx=0xc37a10, push 0, push path, uses AL
|
|
__thiscall float Vector::Length(); // plain RET; ECX=vector x/y, result on x87 ST0 (fld at exit); 005c05d8 caller lea ecx,vec then fstp
|
|
__thiscall void PersistentGameData_Bestiary::~PersistentGameData_Bestiary(); // plain RET; ECX=this, erases 4 maps at +0x18/+0x10/+8/+0; 00906cea caller lea ecx,[edi+0xfc0], no pushes
|
|
__thiscall void Entity_Player::update_player_skin(); // plain RET; ECX=player (_isCoopGhost, _playerType), no stack args; 005c8923 caller mov ecx,edi
|
|
__thiscall int AnimationState::GetAnimationLength(); // plain RET; [ecx+4] animData ? +0x30 : 0 in EAX; 004acc1c caller lea ecx,[edi+0x78], sub eax,2
|
|
__thiscall DeathmatchManager* Game::GetField26614(); // plain RET, no args; returns g_game+0x26614 (ECX unused, but 005b3d34 caller sets ecx=g_game like a method call)
|
|
__thiscall void* Multiplayer::get_lobby(void* outLobby); // RET 0x4; ECX=multiplayer (shared_ptr at +0x24), builds ConstLobby/Lobby at [ebp+8] and returns it (mov eax,esi); 006fb112 caller ecx=0xc79a50, push lea local
|
|
__thiscall void* render_quad_copy(void* src); // RET 0x4; ECX=dst 0x70-byte quad default-inited then 0x1c dwords copied from [ebp+8], returns dst (mov eax,ebx); 0041ed93 caller ecx=vector end slot, push src
|
|
__thiscall void* lobby_member_map_get_or_add(uint64_t* userId); // RET 0x4; ECX=std::map, [ebp+8] 64-bit key for lower_bound/insert, returns node+0x18 (value); 008e8658 caller ecx=esi+0x694, push lea [esi+0x6a0]
|
|
__thiscall Entity_Tear* Entity_Player::FireTear(Vector* position, Vector velocity, unsigned int flags, Entity* source, float damageMultiplier); // RET 0x18 = 4+8+4+4+4; flags&2 tested, [ebp+0x18] source compared to this, [ebp+0x1c] movss float; 00437b03 caller push 1.0f, 0, 6, vel.y, vel.x, pos ptr
|
|
__thiscall void Entity::ClearReferences(); // plain RET; ECX=entity (+0x3bc parent, +0x3c0 child...), no stack args; 0060ac05 caller mov ecx,esi
|
|
__thiscall void Entity_Familiar::AddToOrbit(int orbitLayer); // RET 0x4; [ebp+8] stored to _orbitLayer (+0xd70); 0043c688 caller push [ebp-0x1c4], ecx=edi
|
|
__cdecl ItemConfig* Isaac::GetItemConfig(); // plain RET, no args, returns g_manager+0x2a404 (ECX unused; 005b3b71 caller still loads ecx=g_manager)
|
|
__thiscall void Sprite::SetLastFrame(); // plain RET; ECX=ANM2 (+0x34 animData), no stack args; 00520ea6 caller lea ecx,[edi+0x48]
|
|
__thiscall bool KAGE::Filesys::BufferedStream::rebuffer(); // plain RET; ECX=stream (+0x18 read-only flag, vfuncs +0x24/+0x28), returns 0/1; 00919dc0 caller lea ecx,local
|
|
__stdcall void* FileSystem::GetMountPrefixes(void* outPrefixes); // RET 0x4, ECX never read (walks global mount vector 0xc379e8), fills std::vector at [ebp+8] and returns it; 0040dcb9 caller push lea local, uses EAX
|
|
__thiscall float Vector::GetAngleDegrees(); // plain RET; ECX=vector, atan2f(y,x)*57.29 returned on x87 ST0 (fld at exit); 005dad5a caller mov ecx,eax then fstp
|
|
__thiscall Entity_Player* PlayerManager::SpawnCoPlayer2(int playerType); // RET 0x4; [ebp+8] logged as ePlayerType, returns new player (mov eax,ebx) or 0; 0042a6cd caller ecx=g_game+0x1baa8, push type, passes EAX on
|
|
__cdecl void online_session_reset(); // plain RET, no args, ECX/EDX unused (globals only); 008ca96b caller call with no pushes
|
|
__thiscall bool Entity_NPC::IsControllerActionTriggered(int buttonAction); // RET 0x4; [ebp+8] forwarded with _controllerID (+0xf1c) to input_is_action_triggered, returns AL; 004e368c caller push 0xa, ecx=npc
|
|
__thiscall Entity* Entity::GetLastParent(); // plain RET, no stack args; 006a8990 walks _parent (+0x3bc) and returns the last ancestor or this; same-named 006b7250 (also plain RET, ECX only) walks _spawnerEntity (+0x3c8) instead; 0046a168 caller ecx=npc, uses EAX
|
|
__thiscall bool GridEntity_Door::IsRoomType(int roomType); // RET 0x4; [ebp+8] vs _currentRoomType +0x15c / _targetRoomType +0x160, returns AL; 006706f8 caller push 7
|
|
__fastcall bool str_eq_cstr(std_string* str, const char* cstr); // plain RET, no stack args; ECX=std::string (SSO cap +0x14, size +0x10), EDX=C string strlen'd, tail-calls str_eq -> AL 1 if equal; 00455f68 caller edx=0xb1d5b8, ecx=eax
|
|
__stdcall void AnmCache::RemoveRef(std_string* path); // RET 0x4, ECX overwritten before use (globals 0xc78ee0/0xc798bc), arg at [ebx+8] (aligned frame); 00407f3d caller push edi (a std::string: +0x10 size, +0x14 cap)
|
|
__thiscall float Vector::DistanceSquared(Vector* other); // RET 0x4; ([ebp+8]-this)^2 summed, returned on x87 ST0 (fld); 005c5f34 caller push lea vec, ecx=eax, fstp
|
|
__thiscall Entity_Player* PlayerManager::get_first_local_main_player(); // plain RET; ECX=player vector, returns player (mov eax,edi) or 0; 0045b1cc caller ecx=g_game+0x1baa8, test eax
|
|
__thiscall void* InfoDisplayText::constructor(); // plain RET; ECX=this zeroed (std::string at +0, dwords +0x18..), returns this (mov eax,ecx); 0083cd0d caller lea ecx,local, no pushes
|
|
__thiscall void Room::Update(); // plain RET; ECX=room saved to edi at entry, no stack args; 006f57fa caller ecx=g_game->_room
|
|
__thiscall void Entity_Player::ClampHeartsToLimit(int heartType, int amount); // RET 0x8; [ebp+8] switch 3 soul/6 black/7 golden/0xb bone/0xc rotten, [ebp+0xc] amount (*8 added to the total before comparing to GetHeartLimit); 00758a5f caller push 0, push 1
|
|
__thiscall void Entity_Player::UpdateBlackHeartMask(); // plain RET; ECX=player (+0x134c soul, +0x1350 black mask), no stack args; 00758a36 caller mov ecx,esi
|
|
__thiscall bool Entity_Player::HasFullHearts(); // plain RET; ECX=player (copied to EDX across GetHealthType), returns setge AL; 006ec4a3 caller mov ecx,edx, test al
|
|
__thiscall Entity* Game::SpawnEx(unsigned int type, unsigned int variant, Vector* position, Vector* velocity, Entity* spawner, unsigned int subType, unsigned int seed, unsigned int flags); // RET 0x20; ECX=Game; param 8 & 1 passed to EntityFactory::Create; returns created entity
|
|
__thiscall void KColor::SetFromARGB(unsigned int argb); // RET 0x4; ECX=KColor written +0..+0x10
|
|
__thiscall Vector* Entity_NPC::CalcTargetPosition(Vector* outPos, float distanceLimit); // RET 0x8; 004471f8 caller pushes out ptr + float, reads [eax]
|
|
__cdecl Vector* MusicManager::RandomVector(Vector* outVec); // plain RET, no ECX; 00436494 caller push 1 arg, add esp,4, uses eax
|
|
__cdecl int sprintf_s(char* buffer, unsigned int size, char* format); // plain RET (varargs); 0047ccd3 caller push buf,0x20,fmt,arg, add esp,0x10
|
|
__cdecl uint64_t GetTimeNs(); // plain RET, no args; QPC/QPF -> __dtoul3 returns EDX:EAX
|
|
__thiscall void luabridge::Namespace::ClassBase::createConstTable(char* name); // RET 0x4; ECX=ClassBase (mov ebx,ecx); LuaBridge createConstTable(char const* name)
|
|
__thiscall Vector* Vector::Resized(Vector* outVec, float length); // RET 0x8; ECX=Vector; writes [eax],[eax+4] = param 1
|
|
__thiscall bool Room::IsPositionInRoom(Vector* position, float margin); // RET 0x8; ECX=Room (+0x4 descriptor, +0x14..+0x20 bounds)
|
|
__stdcall char* string_table_translate(StringTable* stringTable, char* text); // RET 0x8; ECX not read; 00425cf9 caller push text, g_manager+0x4a920
|
|
__thiscall void xml_memory_pool::clear(); // plain RET (4147e1); ECX=pool (mov edi,ecx)
|
|
__cdecl unsigned int Seeds::GetPreventedCurses(); // plain RET, ECX unused (reads g_game); returns mask in EAX; 004fe00c caller pushes nothing, not eax
|
|
__thiscall void rapidxml::xml_document::parse(char* text); // RET 0x4; ECX=document (mov esi,ecx)
|
|
__thiscall TearParams* Entity_Player::GetTearHitParams(TearParams* outParams, int weaponType, float damageScale, int tearDisplacement, Entity* source); // RET 0x14 (007c2c42); matches REPENTOGON decl
|
|
__thiscall void Game::SpawnParticles(Vector* position, int variant, int count, float speed, ColorMod* color, float height, int subType); // RET 0x1c; ECX=Game (mov ebx,ecx); [ebp+0x10] count >0 loop, [ebp+0x14] speed, [ebp+0x18] color to vtable 0x3c
|
|
__thiscall void Color::Reset(); // plain RET; ECX written +0..+0x28
|
|
__stdcall char* FileSystem::ResolvePath(char* path); // RET 0x4; ECX never read ([ebp+8] -> esi), returns path_join result or 0
|
|
__stdcall Vector* Room::GetCenterPos(Vector* outPos); // RET 0x4; ECX overwritten from g_game->_room before use; writes [eax],[eax+4]
|
|
__thiscall ANM2* ANM2::ANM2(ANM2* other); // RET 0x4 (407a5d); copy ctor, ECX=this (mov edi,ecx); only ANM2::ANM2 in functions.tsv
|
|
__fastcall int vector_to_direction(Vector* vec); // plain RET; ECX=Vector* read first, no this; returns 0..3 in EAX
|
|
__stdcall bool Game::ShouldEraseEnemy(Entity* entity); // RET 0x4; ECX written before read ([ebp+8]+0x28 type); REPENTOGON says static bool
|
|
__thiscall void RenderTarget::Clear(); // plain RET; ECX=RenderTarget (mov esi,ecx; +0x68)
|
|
__thiscall void MessagePopup::MessagePopup(void* font, void* callback, void* userData, Vector* position); // RET 0x10; ECX=this (mov esi,ecx); p1->+4, p2->+0x7c, p3->+0x80, [p4]->+0x1c; 004203db caller pushes ptr,0,0x420930(fn),eax; font per DB note
|
|
__thiscall int Entity::CountRelatedEntities(int type, int variant, int unused, void* outEntities); // RET 0x10; ECX=entity (IsDescendantOf); p1,p2 -> EntityList::QuerySublist type/variant; [ebp+0x10] never read; p4 = std::vector<Entity*>* or 0; 004574a8 push 0,ecx,0,0xe
|
|
__thiscall Entity* Entity::GetPlayerAncestor(); // plain RET; ECX=entity (mov edi,ecx), returns first type-1 ancestor
|
|
__thiscall unsigned int Level::GetCurses(); // plain RET (7484b4); ECX=Level (+0xc curses)
|
|
__thiscall void Entity_Familiar::PickEnemyTarget(float attackRange, int frameInterval, int flags, Vector* coneDir, float coneAngle); // RET 0x14; ECX=familiar (mov ebx,ecx); Lua PickEnemyTarget(range, interval, flags, coneDir, coneAngle)
|
|
__thiscall void Mutex::lock(); // plain RET; ECX=Mutex (mov esi,ecx)
|
|
__thiscall int ItemPool::GetCollectible(int itemPoolType, uint32_t seed, uint32_t flags, int defaultItem, int fallbackPoolType); // RET 0x14 (REPENTOGON has 4 args); p5 == -1 -> 0x19 else recursive GetCollectible(p5,seed,...,0,-1); 005bad9e push 0,0,0,seed,2
|
|
__thiscall Vector* Vector::__add(Vector* outVec, Vector* other); // RET 0x8; ECX=Vector; [p1] = [p2] + [ecx], EAX = p1
|
|
__thiscall bool Room::SetGridPath(int gridIndex, int value); // RET 0x8 at both 0042a290 and 004565e0; ECX=Room (+0x76c gridPaths), AL=1 on success
|
|
__thiscall void PathFinder::Reset(); // plain RET; ECX=PathFinder (mov ebx,ecx)
|
|
__thiscall void Entity::Render(Vector* offset); // RET 0x4; ECX=entity (mov esi,ecx); matches REPENTOGON Render(Vector* offset) of subclasses
|
|
__thiscall bool AnimationState::IsLoopingAnimation(); // plain RET; ECX=AnimationState (+4 animData), AL
|
|
__thiscall void Weapon::TriggerTearEffects(Vector* direction, int count); // RET 0x8; ECX=Weapon (mov edi,ecx); [p1] compared to g_vectorZero (current type Entity* is wrong); p2 <1 returns; 009f9d01 caller push 1, lea local vector
|
|
__cdecl bool Game::IsHardMode(); // plain RET at both 006d8240 and 006f8100; no ECX/stack, reads g_game->_difficulty
|
|
__thiscall Vector* Room::GetClampedPosition(Vector* outPos, Vector* position, float margin); // RET 0xc; ECX=Room passed through to GetClampedPositionImpl 00812f50; EAX = p1
|
|
__thiscall void InfoDisplayEntry::copy_constructor(void* other); // RET 0x4; ECX=this (mov edi,ecx), copies string + 6 vectors from p1
|
|
__thiscall void GridEntity_Pit::UpdateCollision(); // plain RET; ECX=pit read at +0x24 before any write
|
|
__thiscall void EntitySaveState::copy(void* other); // RET 0x4; ECX=dest (mov edi,ecx), field copy from p1
|
|
__thiscall void HUD::AssignPlayerHUDs(); // plain RET; ECX=HUD (mov eax,ecx)
|
|
__thiscall void MusicManager::Crossfade(int musicId, float fadeRate); // RET 0x8; ECX=MusicManager (mov edi,ecx); p1 bounds-checked vs music table ("Music ID %d out of bounds"), p2 stored per track; REPENTOGON Music::Crossfade(int,float)
|
|
__thiscall void KAGE::Thread::~Thread(); // plain RET; ECX=this (mov esi,ecx), writes vftable
|
|
__thiscall Seeds* Seeds::operator_assign(Seeds* other); // RET 0x4; ECX=this (mov edi,ecx), cmp edi,[ebp+8]
|
|
__thiscall int Entity_Player::GetEffectiveMaxHearts(); // plain RET; ECX=player (mov edx,ecx; +0x1340, +0x1d88)
|
|
__thiscall bool Entity_Player::FlushQueueItem(); // plain RET; ECX=player (mov edi,ecx; +0x17c4 queued item)
|
|
__thiscall std_string* EntityConfig_Player::GetDisplayName(std_string* outName, void* unused); // RET 0x8; ECX=config; [ebp+0xc] never read; 0069abd3 caller pushes ecx(junk), lea out; reads [eax+0x14] after
|
|
__thiscall Vector* Vector::Rotated(Vector* outVec, float angleDegrees); // RET 0x8; ECX=Vector (mov esi,ecx); p2 * 0.0174533
|
|
__thiscall void NetplayManager::reset(bool isReleaseDevices); // RET 0x4; ECX=g_manager+0x4b3d8 (mov edi,ecx); p1 true -> InputManager::get_device + release per peer; 008e856a caller push 1
|
|
__fastcall void EntityPtr::SetReference(EntityPtr* ptr, Entity* entity); // 006b5b50 plain RET, ECX=ptr (mov esi,ecx), EDX=entity (mov edi,edx); 00872050 (RET 4) fails this line and keeps REPENTOGON's __thiscall
|
|
__thiscall void Entity_Effect::SetTimeout(int timeout); // RET 0x4 (435ea3); ECX=effect, p1 -> +0x45c and +0x460
|
|
__thiscall ANM2* ANM2::operator_assign(ANM2 other); // RET 0x114 = sizeof(ANM2) by value (Isaac::SwapANM2 on [ebp+8]); ECX=this (mov esi,ecx)
|
|
__thiscall EntityPtr* EntityPtr::clear(); // plain RET; ECX=this zeroed +0,+4; EAX=ECX (ICF-shared)
|
|
__stdcall char* user_profile_format_display_name(uint64_t profileRef, void* font, unsigned int maxWidth); // RET 0x10; ECX not read (lea ecx,[ebp+8] first); 0078c8ad caller push 0x7d,edi,edx,eax (EDX:EAX pair from 00a23920), 008ca86d font = manager+0x4ae28; returns static buf
|
|
__thiscall void Entity_Player::stop_costume_item_anims(); // plain RET; ECX=player (mov esi,ecx; +0x20a9 isCoopGhost)
|
|
__thiscall void* map_find_value(unsigned int key); // RET 0x4 (6519ad); ECX=std::map passed through untouched to try_emplace 00652210; returns node+0x14 (value ptr)
|
|
__fastcall void* ItemConfig::get_wisp_config(int collectibleId); // plain RET; ECX=id (cmp ecx,0x10000) no this; returns item+0xcc wisp config; 00436271 caller mov ecx,[npc+0xf20]
|
|
__thiscall void Entity::SetPositionOffset(Vector* offset); // RET 0x4; ECX=entity, [p1] -> +0x34c/+0x350
|
|
__thiscall void* SaveDataManager::open_file_read(char* fileName); // RET 0x4; ECX=manager (mov edi,ecx; +4 flags); p1 -> path_join; returns new KAGE::Filesys::File or 0; 006862e7 ecx=0xc5aa80 push buf
|
|
__cdecl Vector* Vector::FromAngle(Vector* outVec, float angleDegrees); // plain RET, ECX unused; 005b4c6c caller push out + float, add esp,8
|
|
__stdcall void Game::save_rewind_state(int leaveDoor); // RET 0x4; ECX never read (esi = g_game); p1 -> GlowingHourglassState _leaveDoor; 006eb948 caller push -1
|
|
__thiscall std_string* vector_string_emplace_reallocate(std_string* where, void* value); // RET 0x8; ECX=std::vector<std::string> (mov ebx,ecx); p1 = insert position, p2 -> std::string ctor; returns new element
|
|
__thiscall bool BitSet128::IsZero(); // plain RET (592241); ECX=BitSet128 4 dwords, AL
|
|
__thiscall int Room::GetRoomShape(); // plain RET; ECX=Room (+4 descriptor ->+0x10 ->+0x48), default 1
|
|
__cdecl void mi_option_init(void* desc); // plain RET; [ebp+8]; 00ae752b caller push 0xbf8058, add esp,4
|
|
__fastcall int flock(int fd, int operation); // plain RET; ECX=fd (_get_osfhandle), EDX=op (mov esi,edx), no stack args
|
|
__thiscall void set_blend_mode(int mode); // RET 0x4; ECX=owner (mov esi,ecx) passed to BlendMode::SetMode, result copied to +0x20..+0x30
|
|
__cdecl std_string* Seeds::Seed2String(std_string* outStr, unsigned int seed); // plain RET, ECX unused; std::string init on p1 ("0000 0000"), returns p1; 00685de4 caller push seed,out, add esp,8
|
|
__thiscall void* vector_LaserSample_emplace_reallocate(void* where, void* value); // RET 0x8; ECX=vector (mov ebx,ecx); p2 6 dwords copied
|
|
__thiscall void online_lobby_join(void* lobbyInfo, uint64_t sharedRef); // RET 0xc; ECX=NetplayManager (g_manager+0x4b3d8, mov ebx,ecx); 008e136d caller: sub esp,8 (8-byte by-value, shared_ptr-like) then push ptr; really a NetplayManager method
|
|
__thiscall bool NPCAI_Pathfinder::HasPathToPos(Vector* position, bool isIgnorePoop); // RET 0x8 (7e7809; plain RET 7e7f9f is an EH funclet); ECX=pathfinder read first; matches REPENTOGON
|
|
__thiscall void GameStatePlayer::~GameStatePlayer(); // no RET: tail jmp to 004149d0 _Tidy (plain RET); ECX=this (mov edi,ecx)
|
|
__thiscall void Entity_NPC::SetBossColorIdx(int bossColorIdx, int unused); // RET 0x8; ECX=npc (mov esi,ecx; +0xc78); [ebp+0xc] never read; 0045a3fc caller push ecx(junk), [edi+0xc78]
|
|
__thiscall bool Item::HasTags(uint64_t tags); // RET 0x8; ECX=ItemConfig_Item, low dword & +0xb8, high & +0xbc; 005bc3db caller push 0, 0x8000000
|
|
__thiscall void Entity::SetVelocity(Vector* velocity); // RET 0x4 (428928); ECX=entity, [p1] -> +0x360/+0x364
|
|
__thiscall void Sprite::Play(std_string* animName, bool isForce); // tail jmp to ANM2::Play 0040a380 (RET 0x8) with ECX unchanged; p1 std_string (cap +0x14 > 0xf -> heap buf)
|
|
__stdcall void Multiplayer::handle_member_status(void* lobby, uint64_t* userId, int status); // RET 0xc; ECX not read (lea ecx,[ebp-0x24] first); p1+4 lobby id, p2 compared as two dwords (u64 id), switch(p3)
|
|
__thiscall ColorMod* Weapon::get_laser_color(ColorMod* outColor); // RET 0x4; ECX=Weapon (+4 owner); writes and returns p1
|
|
__thiscall int LevelGenerator::count_neighbor_rooms(int* gridPos); // RET 0x4; ECX=generator (mov edx,ecx; +0x14 slots); p1[0], p1[1] = x,y
|
|
__thiscall void HUD_Message::free_text_buffers(); // plain RET; ECX=this (mov edi,ecx), frees [edi], [edi+4]
|
|
__thiscall void Room::PlayMusic(); // plain RET; ECX=Room (mov ebx,ecx); Lua Room:PlayMusic() returns nothing (decompiler float10 is junk)
|
|
__thiscall bool Entity_Player::FullCharge(int slot, bool isForce, bool isOvercharge); // RET 0xc (REPENTOGON has 2 args); p2==0 blocks Mega Blast 0x1b9, AddActiveCharge(charge,slot,1,p3,p2); 006d59a4 caller push 0,0,slot
|
|
__thiscall void std_deque_growmap(unsigned int count); // RET 0x4; ECX=deque (mov esi,ecx; +8 map size) - MSVC _Growmap(count)
|
|
__thiscall void Entity_NPC::TransferControl(Entity_NPC* target); // RET 0x4; ECX=npc (mov ebx,ecx), p1 compared to this, receives _controllerID
|
|
__thiscall ProjectileParams* ProjectileParams::ProjectileParams(); // RET 0; ECX=this (mov esi,ecx), returns this in EAX; current __fastcall(Entity_NPC*) is wrong
|
|
__thiscall Vector* Room::FindFreePickupSpawnPosition(Vector* outPos, Vector* pos, float initialStep, bool isAvoidActiveEntities, bool isAllowPits, bool isAvoidDoors); // RET 0x18; 0042b7c0/00437338 push 3 bytes, float, pos, out; returns out; last flag rejects spots within 70 of door grid indices (room+0x724)
|
|
__thiscall EntityRef* EntityRef::EntityRef(); // RET 0; ECX=this, returns this
|
|
__thiscall void AnimationState::Update(); // RET 0; ECX=this
|
|
__thiscall void Entity_Player::EvaluateItems(); // RET 0; ECX=this
|
|
__thiscall int Room::GetGridCollisionAtPos(Vector pos); // RET 8; by-value Vector, returns GetGridCollision(index)
|
|
__cdecl unsigned int Seeds::GetForcedCurses(); // RET 0; ECX written before read (static, uses g_game seeds); callers 004fe003/0060c024 set no args and OR full EAX
|
|
__thiscall bool Entity::IsEnemy(); // RET 0; ECX=this
|
|
__stdcall bool input_is_action_pressed(int action, int controllerIndex, Entity* entity, int unused); // RET 0x10; 00462972 pushes junk ecx, entity, _controllerIndex, 9; ECX not read; 4th slot unused
|
|
__thiscall void ReferenceCountBase::ReferenceCountBase(); // RET 0; ECX=this
|
|
__thiscall Entity* Entity_Player::AddBlueFlies(int amount, Vector* pos, Entity* target); // RET 0xc; Lua EntityPlayer:AddBlueFlies; returns last SpawnEx result
|
|
__thiscall bool Vector::operator_eq(Vector* other); // RET 4; compares x,y
|
|
__thiscall Entity_Player* Game::GetNearestPlayer(Vector* pos); // RET 4 (at 00703aa2); 00455509 ecx=g_game push &ent->_pos
|
|
__thiscall void* InputManager::get_device(void* outDevice, int index); // RET 8; out SmartPointer<InputDeviceBase>, returns it
|
|
__thiscall void* AnimationState::GetLayerFrame(int layerId); // RET 4; returns AnimationFrame* or 0
|
|
__thiscall void Game::ButterBeanFart(Vector* pos, float radius, Entity* source, bool isShowEffect, bool isSuperKnockback); // RET 0x14; Lua Game:ButterBeanFart(Position, Radius, Source, ShowEffect, DoSuperKnockback); param_3 compared to entity _type 1/3
|
|
__thiscall void PathFinder::MoveRandomlyAxisAligned(float speed, bool isIgnoreStatusEffects); // RET 8; Lua PathFinder:MoveRandomlyAxisAligned, REPENTOGON NPCAI_Pathfinder decl agrees
|
|
__fastcall bool Entity_Pickup::IsChest(int variant); // RET 0; variant in ECX, EDX unused (REPENTOGON variant<ecx>)
|
|
__stdcall int render_color_shader_pass(void* quad); // RET 4; ECX/EDX not read, [ebp+8] vertex colours at +0x2c/+0x40/+0x54/+0x68, returns render_quad_draw result
|
|
__thiscall BitSet128* BitSet128::__bnot(BitSet128* out); // RET 4; writes ~this into [ebp+8], EAX=out
|
|
__thiscall Entity_NPC* Entity_NPC::ParentNPC(); // RET 0; ECX=this, returns _parent after dynamic_cast check
|
|
__thiscall bool BitSet128::IsNonZero(); // RET 0; ECX=this
|
|
__thiscall bool Level::place_room(void* slot, void* data, unsigned int seed, void* unused, RoomDescriptor** outDesc); // RET 0x14; 00739528 pushes slot, data, seed, slot again, 0; param_4 never read; REPENTOGON 4-arg decl is for the older exe
|
|
__thiscall char* StringTable::get_string(const char* category, int language, const char* key, bool* outIsMissing); // RET 0x10; 00694d74 ecx=table push "Entities"-style category, lang, name+1, &flag; returns "StringTable::Invalid*" with flag=1 on miss
|
|
__thiscall std_string* ItemConfig_Item::GetLocalizedName(std_string* outName, int language); // RET 8; returns out; language 0x14 = current
|
|
__thiscall int Entity_Player::GetHeartLimit(bool isKeeperBypass); // RET 4; flag returns before Keeper coin/broken-heart adjustments
|
|
__thiscall void sorted_vector_insert_unique(unsigned int value); // RET 4; ECX=std::vector<uint> (begin/end/cap), lower_bound then insert if absent
|
|
__thiscall void Entity_Player::SetControllerIndex(int index, bool isIncludePlayerOwned); // RET 8 (Ghidra stops at KAGE_LogMessage(1,...) marked noreturn); REPENTOGON decl agrees
|
|
__thiscall void Entity::SetTarget(Entity* target); // RET 4; EntityPtr at +0x3c4 with multiset ref tracking
|
|
__thiscall Entity_Player* PlayerManager::get_player_by_user_id(uint64_t* userId); // RET 4; ECX=player vector, compares player+0x374 object's 64-bit id at +8/+0xc with *userId
|
|
__fastcall void Isaac::SwapANM2(ANM2* left, ANM2* right); // RET 0; ECX/EDX only, no stack reads (REPENTOGON left<ecx> right<edx>, cleanup)
|
|
__thiscall void Weapon::SetBlinkTime(int delay, int unused); // RET 8 (REPENTOGON has 1 arg); only [ebp+8] read; 009f3b6a pushes junk ecx then 5
|
|
__thiscall void Entity::Update(); // RET 0; vtable slot 3, ECX=this
|
|
__thiscall bool Room::TryMakeBridge(GridEntity* pit, GridEntity* rock); // RET 8; Lua Room:TryMakeBridge; pit checked type 7, rock type 0x19
|
|
__thiscall void* Entity::GetCollisionCapsule(void* outCapsule, Vector* offset); // RET 8; Capsule::constructor(out, pos+offset, ...), returns out
|
|
__stdcall void KAGE_Memory::heap_free(unsigned int heapId, void* ptr); // RET 8; ECX written (mov ecx,0xc37964) before any read
|
|
__thiscall bool Manager::render_controller_action_glyph(int controllerIndex, int action, int bindingIndex, bool isTryFallback, ColorMod color, Vector pos, Vector scale); // RET 0x4c = 4*4 + 0x2c + 8 + 8; 00423f3a pushes Vector, 0x2c ColorMod block, 1, 0, esi, idx; [ebp+0x44] rendered pos, [ebp+0x4c/0x50] -> _buttonsSprite._scale
|
|
__thiscall void Entity_Player::InitPostLevelInitStats(); // RET 0; ECX=this
|
|
__thiscall Entity_Player* PlayerManager::RandomCollectibleOwner(int collectibleId, unsigned int seed, RNG** outRng); // RET 0xc; REPENTOGON decl (CollectibleType) agrees
|
|
__thiscall void Entity_Player::ClampGoldenHearts(bool isSkipBreak); // RET 4; flag 0 -> BreakGoldenHearts(excess)
|
|
__thiscall void Entity_Player::UpdateCostumes(); // RET 0; ECX=this (mov edi,ecx)
|
|
__fastcall Vector* RandomVector(Vector* out, unsigned int seed); // RET 0; ECX=out, EDX=seed (xorshift 3,1,14), EAX=out
|
|
__thiscall void Vector::Resize(float length); // RET 4; scales this to length when nonzero
|
|
__thiscall bool* map_u64_bool_subscript(uint64_t* key); // RET 4; ECX=std::map<uint64,bool>, returns &value
|
|
__thiscall void Shader::set_uniform(const char* name, int type, void* data, int unused); // RET 0x10; 00683116 pushes junk ecx, data ptr, type 0xb, name; 4th slot never read ([ebx+8..0x10] only)
|
|
__thiscall Vector* Weapon::get_aim_direction(Vector* outDir, Vector* defaultDir); // RET 8; copies Marked target dir or *defaultDir into out, EAX=out
|
|
__thiscall void* InputManager::GetDeviceByPlayerEntity(Entity_Player* player); // RET 4; returns device whose +0xc matches player/main twin _controllerIndex
|
|
__thiscall void Entity_Player::GetFlyingOffset(Vector* outOffset); // RET 4 (x3); writes (0,-4) when _canFly else zero vector, EAX not set
|
|
__thiscall int apply_forgotten_lullaby(int fireDelay); // RET 4; ECX=owner object, player at +0x410; returns delay /2, /2.5 or /3 by trinket 141 multiplier
|
|
__thiscall void set_field_358(float value); // RET 4; callers 005ba1b1/005dcf17 movss float into the pushed slot
|
|
__thiscall LayerState* Sprite::GetLayer(const char* layerName); // RET 4; thunk to ANM2::GetLayer(name) on same ECX
|
|
__thiscall void* KAGE::Input::Manager::get_device(void* outDevice, unsigned int index); // RET 8; copies shared_ptr device at index (or default) into out, returns out
|
|
__cdecl int Seeds::GetSeedEffect(std_string seedString); // RET 0; callers 00685e0b/00685ea4 sub esp,0x18 + copy-construct string, add esp,0x18 after; pads/trims to 9 chars
|
|
__thiscall void* InfoDisplayEntry::operator_assign(void* other); // RET 4; copy-assign, ECX=this
|
|
__thiscall void Entity_Pickup::update_price_sprite(int price); // RET 4; stores into _price, 005c0dcd push 0
|
|
__thiscall void Color::SetTint(float r, float g, float b, float a); // RET 0x10; Lua Color:SetTint, stores +0..+0xc
|
|
__thiscall bool Room::RaiseGridPathAtPos(Vector* pos, int pathValue); // RET 8; raises _gridPaths[idx]%1000 to pathValue (<0x3b7)
|
|
__thiscall void Entity::SetPosition(Vector* pos); // RET 4; copies into _pos
|
|
__cdecl void oggpack_write(void* buffer, unsigned int value, int bits); // RET 0; ECX not read, args [ebp+8/0xc/0x10] (libogg signature)
|
|
__thiscall bool ImageBase::set_size(unsigned int width, unsigned int height, int unused); // RET 0xc; only [ebp+8]/[ebp+0xc] read; 00a65615 pushes junk ecx, h, w
|
|
__thiscall void award_fly_kill_points(Entity* fly); // RET 4; reads fly _pos (+0x33c) and +0x384/+0x404
|
|
__thiscall void Game::start_poop_cloud_screen_effect(ColorMod* color); // RET 4; copies 11 dwords (0x2c) from arg; callers 00444c45/0062cc2e pass ECX = [g_game+0x18300]+0x1618 (Room sub-object, not Game)
|
|
__thiscall std_string* Mod::GetContentPath(std_string* outPath, std_string* name); // RET 8; returns out (REPENTOGON ModEntry::GetContentPath agrees)
|
|
__thiscall bool Level::IsPreAscent(); // RET 0; ECX=this (mov edx,ecx), reads stage at +0, +0xc
|
|
__cdecl unsigned int Level::GetStageID(); // RET 0; ECX loaded from g_game before any read (REPENTOGON static)
|
|
__thiscall bool PlayerManager::AnyoneHasCollectible(int collectibleId); // RET 4; FirstCollectibleOwner(id, ..., 1) != 0
|
|
__thiscall void Entity_Projectile::set_falling_accel(float accel); // RET 4; stores _fallingAccel +0x418
|
|
__thiscall void Sprite::SetScale(Vector* scale); // RET 4; copies into ANM2 _scale
|
|
__thiscall void CommandThread::post_command(void* command); // RET 4; copies id/data/+0x10/+0x14 of command struct into queued entry
|
|
__thiscall void KAGE::Network::Multiplayer::Lobby::get_members(void* outMembers, bool isIncludeLocalUser); // RET 8; appends UserProfile per member to vector, skips local user unless flag
|
|
__thiscall BitSet128* Weapon::get_owner_tear_flags(BitSet128* outFlags); // RET 4; owner (+4) player TearFlags (+0x1488) into out, returns out
|
|
__thiscall void LevelGenerator::update_room_neighbors(void* room); // RET 4; ECX saved as this, 0074204a ecx=generator push room
|
|
__thiscall std_string* RoomConfigStage::GetDisplayName(std_string* outName, int language); // RET 8; returns out; language 0x14 = current
|
|
__thiscall void Entity_Player::RemoveSkinCostume(); // RET 0; ECX=this, RemoveCostume(player config null item)
|
|
__thiscall void Entity_NPC::ClearDequeRefs(); // RET 0; ECX=this, clears EntityPtr deque at +0xbf0
|
|
__thiscall void ANM2::~ANM2(); // RET; ECX=this (mov esi,ecx), no stack args
|
|
__thiscall void AnimationState::~AnimationState(); // RET; ECX=this (mov esi,ecx), no stack args
|
|
__thiscall void luabridge::Namespace::~Namespace(); // RET; ECX=this (lua_State +0, stack size +4)
|
|
__thiscall bool Room::CheckLine(Vector* pos1, Vector* pos2, int mode, int gridPathThreshold, bool isIgnoreWalls, bool isIgnoreCrushable, Vector* outPos); // RET 0x1c; Lua Room:CheckLine, returns 0/1, param 7 written as out Vector
|
|
__thiscall int Room::GetGridIndex(Vector* pos); // RET 0x4; returns index or -1
|
|
__thiscall bool Vector::operator_ne(Vector* other); // RET 0x4; ECX=this, compares two floats
|
|
__thiscall void* FileSystem::Open(char* path, int* outResolvedPath); // RET 0x8; callers 0040edda/00420c06 ECX=0xc37a10, push 2 args; returns stream ptr
|
|
__thiscall void Entity_NPC::AnimWalkFrame(std_string* horizontalAnim, std_string* verticalAnim, float speedThreshold); // RET 0xc; Lua EntityNPC:AnimWalkFrame, string SSO cap checks on params 1/2
|
|
__thiscall void UserProfile::find_or_create(); // RET; ECX=this (64-bit id at +0/+4)
|
|
__thiscall void ANM2::PlayOverlay(char* animName, bool isForce); // RET 0x8; ECX=this, name compared bytewise as C string
|
|
__thiscall bool Entity::IsDescendantOf(Entity* ancestor); // RET 0x4; 005bf153 caller push 1 arg; returns 0/1
|
|
__thiscall bool Entity_NPC::IsControllerActionPressed(int action); // RET 0x4; returns 0/1
|
|
__thiscall void Checksum::Update(uint8_t* data, unsigned int size); // RET 0x8; 00418c18 caller push 4, push &value, ECX=obj
|
|
__stdcall void* Manager::LoadImage(void* outImage, char* path); // RET 0x8; no ECX/EDX read; 0040c060 caller pushes 2; returns param 1 (REPENTOGON's 4-arg decl is older)
|
|
__fastcall void invoke_pending_callbacks(void* owner); // RET; only ECX (fields +0x64..+0x70), no stack args
|
|
__thiscall void KAGE_Graphics::SetRenderTarget(void* target, bool isNoFlip); // RET 0x8; 0041920d caller ECX=0xc798e0, push 0, push target
|
|
__stdcall void* Entity_NPC::QueryNPCsType(void* outList, int type, int variant); // RET 0xc; ECX never read (overwritten with g_game), returns param 1
|
|
__thiscall int Level::GetRoomStageType(int roomIdx); // RET 0x4; ECX=this (mov ebx,ecx)
|
|
__thiscall bool Entity::IsDamageSourceFriendly(EntityRef* source); // RET 0x4; reads source->type, returns 0/1
|
|
__thiscall Entity_Player* PlayerManager::FirstTrinketOwner(int trinketId); // RET 0x4; integer compare with player field, returns player or 0
|
|
__thiscall void Font::DrawStringScaled(char* text, Vector* pos, KColor* color, void* settings); // RET 0x10; no XMM args; pos read as 2 floats, colour 5 dwords (KColor is 0x14) copied by value to render_glyph_quads
|
|
__thiscall void* LayerState::GetTexture(void* outTexture); // RET 0x4; returns param 1
|
|
__thiscall void GridEntity_Door::UpdateAnimation(); // RET; ECX=this
|
|
__thiscall void Seeds::Init3(RNG* rng); // RET 0x4 at 00428a4a (dump size is short); reads seed + 3 shifts of param 1
|
|
__thiscall void* Font::measure_string(void* outLayout, char* text, void* settings, Vector* scale); // RET 0x10; DrawString passes &g_vectorOne as scale; returns param 1
|
|
__thiscall void Entity_Effect::FollowParent(Entity* parent); // RET 0x4; reads parent+0x33c pos
|
|
__thiscall void Entity_Player::AnimateCollectible(int collectibleId, char* animName, char* spriteAnimName); // RET 0xc; 005b3be1 caller pushes "PlayerPickupSparkle","UseItem",id
|
|
__stdcall bool shader_push(char* shaderName); // RET 0x4; no ECX/EDX read; returns 0/1
|
|
__thiscall void Game::Fart(Vector* pos, float radius, Entity* source, float scale, int subType, ColorMod* color); // RET 0x18; Lua Game:Fart; ebp+0xc/+0x14 read as floats
|
|
__thiscall void Entity::SetChild(Entity* child); // RET 0x4
|
|
__thiscall bool KAGE::System::UserProfile::is_local_user(); // RET; ECX=this
|
|
__fastcall void vector_UserProfile_destroy(void* vec); // RET; only ECX (begin/end/cap), no stack args
|
|
__thiscall void* KAGE::Filesys::BufferedStream::BufferedStream(int bufferSize); // RET 0x4; returns this (mov eax,esi)
|
|
__thiscall int PlayerManager::count_main_players(); // RET; ECX=this (player vector)
|
|
__thiscall void PathFinder::MoveRandomlyBoss(bool isIgnoreStatusEffects); // RET 0x4; ECX=this
|
|
__thiscall void Entity::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10; writes _type/_variant/_subtype/_initSeed
|
|
__thiscall Vector* Entity::Position(Vector* outPos); // RET 0x4; returns param 1 (mov eax,[ebp+8])
|
|
__thiscall void Font::Unload(); // RET at 00a1ae5e (live asm); ECX=this
|
|
__thiscall void PersistentGameData::Save(); // RET; ECX=this
|
|
__thiscall bool ItemPool::RemoveCollectible(int collectibleId, bool isRequireAvailable, bool isQueryOnly); // RET 0xc; 00651350 caller push 0,0,id; param 3 skips setting the removed bit
|
|
__cdecl ColorMod* Color::Lerp(ColorMod* out, ColorMod* from, ColorMod* to, float t); // RET; ECX loaded from stack; callers 00414f68 add esp,0x10; returns param 1
|
|
__stdcall int* glfw_get_window_size(int* outSize, int unused); // RET 0x8; callers 007ba104 push ecx(junk), push &out; returns param 1
|
|
__thiscall Entity_Player* PlayerManager::get_main_player(int index); // RET 0x4; returns player or 0
|
|
__thiscall int Entity_Player::GetZodiacEffect(); // RET; ECX=this passed through to HasCollectible
|
|
__thiscall int GridEntity_Door::get_secret_exit_kind(); // RET; ECX=this
|
|
__thiscall std_string* std_string_insert(unsigned int pos, char* str, unsigned int count); // RET 0xc; ECX=string, no EDX; returns this (mov eax,esi)
|
|
__thiscall bool Game::GetStateFlag(int flag); // RET 0x4; returns 0/1
|
|
__thiscall float Vector::LengthSquared(); // RET; ECX=this, result in ST0 (fld)
|
|
__thiscall void* InfoDisplayEntry::InfoDisplayEntry(); // RET; ECX=this, returns this (mov eax,esi)
|
|
__thiscall std_string* vector_string_emplace_reallocate_move(std_string* where, std_string* value); // RET 0x8; ECX=vector, no EDX
|
|
__thiscall void Lobby::refresh_members(); // RET; ECX=this
|
|
__thiscall void* quad_set_rect(Vector* pos, Vector* size, int unused); // RET 0xc; callers 0083a36f push ecx(junk),size,pos; returns this
|
|
__thiscall void Seeds::SetStartSeed(std_string seed); // RET 0x18; 0068f84c caller sub esp,0x18 + string copy-ctor = std::string by value
|
|
__thiscall void netplay_leave_lobby(int unused1, int unused2); // RET 0x8 at 0090782b; callers 00704fe3 ECX=g_manager+0x4b3d8, sub esp,8 never read
|
|
__thiscall BitSet128* Entity_Player::GetBombFlags(BitSet128* outFlags, bool isRollChances); // RET 0x8; returns param 1; param 2 gates Random() proc rolls
|
|
__thiscall bool Entity_Familiar::IsLilithBirthrightIncubus(); // RET; ECX=this
|
|
__thiscall void Entity::SetSpriteScale(Vector* scale); // RET 0x4
|
|
__thiscall void Font::SetLineHeightModifier(float modifier); // RET 0x4; movss [ebp+8] -> [ecx+0xc]
|
|
__thiscall bool LevelGenerator::can_place_room(int* gridPos, int shape); // RET 0x8; param 1 is an x,y int pair
|
|
__thiscall void* RoomConfig::GetRandomRoomWithFallbackStage(unsigned int seed, bool isReduceWeight, int stage, int fallbackStage, int roomType, int roomShape, unsigned int minVariant, int maxVariant, int minDifficulty, int maxDifficulty, unsigned int* requiredDoors, unsigned int roomSubtype, int mode); // RET 0x34; 007392c7 caller 13 slots (minVariant/maxVariant/mode unused); returns GetRandomRoom result, callers use EAX
|
|
__thiscall void Entity_Pickup::UpdateSprite(bool isIgnoreBlind); // RET 0x4; param skips the curse-of-blind collectible gfx
|
|
__fastcall void* ItemConfig::get_wisp_entry(int collectibleId, int index); // RET; ECX=id passed to GetCollectible, EDX=index (mov ebx,edx), no stack args
|
|
__thiscall void Entity::AddVelocity(Vector* velocity, bool isIgnoreFriction); // RET 0x8
|
|
__thiscall void Entity::ClearEntityFlags(uint64_t flags); // RET 0x8; two dwords and-not into +0x168/+0x16c
|
|
__thiscall bool connection_map_contains(uint64_t* id); // RET 0x4 at 00a79275; ECX=object (mutex +0x10)
|
|
__thiscall void copy_20_bytes(void* src); // RET 0x4; ECX=dest, src from stack
|
|
__thiscall void Popup::set_state(int state); // RET 0x4
|
|
__stdcall void MenuManager::start_game(KColor fadeColor); // RET 0x14 at 009897cc (live asm); no ECX read; 008ce23c caller sub esp,0x14 + KColor::SetFromARGB
|
|
__thiscall void* lobby_get_member_info(int memberIndex); // RET 0x4; ECX saved at ebp-0x14 and read for map +0x694
|
|
__thiscall bool Entity_Player::try_trigger_astral_projection(); // RET; returns 0/1
|
|
__thiscall ItemConfig_Item* Config::GetNullItem(int id); // RET 0x4; null item vector +0x18/+0x1c
|
|
__thiscall Capsule* Entity::GetNullCapsule(Capsule* outCapsule, char* nullLayerName); // RET 0x8; returns param 1
|
|
__thiscall void EntityPtr::Set(Entity* entity); // RET 0x4
|
|
__thiscall void Sprite::SetRotation(float rotation); // RET 0x4; movss [ebp+8] -> [ecx+0xa4]
|
|
__thiscall void EntityList::AddPersistentEntity(Entity* entity); // RET 0x4
|
|
__thiscall void* FormattedText::operator_assign(void* other); // RET 0x4; returns this
|
|
__thiscall Font* Font::Font(); // RET; returns this
|
|
__cdecl unsigned int Seeds::String2Seed(std_string* str); // RET; 00427775 caller add esp,0x4
|
|
__thiscall void* LevelGenerator::CreateRoom(int x, int y, int shape, int connectX, int connectY, int connectDir); // RET 0x18; returns place_room's room pointer (mov eax,esi), not bool
|
|
__thiscall void Menu_OnlineLobby::init_lobby_view(); // RET at 008ea341 (live asm); ECX=this
|
|
__thiscall void Game::SetShockwaveParams(int shockwaveId, void* params); // RET 0x8 at 0081df72; copies 7 dwords
|
|
__thiscall void* PathNode::PathNode(void* other); // RET 0x4; copy ctor, returns this (mov eax,ebx)
|
|
__thiscall Vector* Entity_Player::GetShootingJoystick(Vector* outJoystick); // RET 0x4; returns param 1
|
|
__thiscall std_string* PocketItemConfig::GetName(std_string* outName, int language); // RET 0x8; language 0x14 = current; returns param 1
|
|
__thiscall void* render_quad_draw(void* sourceQuads, void* colorQuads, unsigned int count, int unused); // RET 0x10 at 00a67ba0 (live asm); 0068cbb5 caller push ecx(junk),1,ptr,ptr; strides 0x24/0x70
|
|
__cdecl void operator_delete(void* ptr, unsigned int size); // plain RET; only [ebp+8] read, forwards to FUN_00a0f500; callers 00407fbc push size; push ptr; add esp,8 (sized delete)
|
|
__cdecl float<xmm0> cos(float x<xmm0>); // plain RET; cvtss2sd xmm0,xmm0 -> libm cos -> cvtsd2ss xmm0; caller 0040b88d movss xmm0,[..] then reads xmm0
|
|
__thiscall void* std::string::string(void* other); // RET 0x4; copy ctor from [ebp+8] (SSO <16 else alloc+memcpy), mov eax,esi(this); caller 00407329 mov ecx,out; push src
|
|
__thiscall void* std::shared_ptr::assign(void* value); // RET 0x4; builds temp from [ebp+8] (FUN_00a28840), swaps both dwords with ECX, releases old, eax = this; callers 006f6925 push 0xc79a74; lea ecx,[local]
|
|
static cleanup bool str_eq(char* a<ecx>, unsigned int lengthA<edx>, char* b, unsigned int lengthB); // plain RET; cmp edx,[ebp+0xc] then byte compare ECX vs [ebp+8], al=1 when equal; callers 0040bf83 push len2; push s2; add esp,8; test al,al
|
|
static cleanup BitSet128* BitSet128::operator_and(BitSet128* outResult<ecx>, BitSet128* a<edx>, BitSet128* b); // plain RET; [ecx] = [edx] & [[ebp+8]] x4 dwords, eax=ecx; callers 004343a4 push mask; mov edx,a; lea ecx,out; add esp,4
|
|
static cleanup unsigned int RoomConfig::GetStageID(unsigned int levelStage<ecx>, unsigned int stageType<edx>, int mode); // plain RET (13x); [ebp+8] == -1 -> current game mode; callers 00450a3a mov ecx,[stage]; mov edx,[type]; push -1; add esp,4 (REPENTOGON decl)
|
|
static cleanup int string_compare(char* a<ecx>, unsigned int lengthA<edx>, char* b, unsigned int lengthB); // plain RET; memcmp min(edx,[ebp+0xc]) bytes ECX vs [ebp+8], then length tiebreak -1/0/1; callers 00422251 push len2; push s2; mov edx,len1; add esp,8
|
|
static cleanup BitSet128* BitSet128::operator_or(BitSet128* outResult<ecx>, BitSet128* a<edx>, BitSet128* b); // plain RET; [ecx] = [edx] | [[ebp+8]] x4, eax=ecx; caller 00438ee0 push b; mov edx,0xc34bb0; lea ecx,out; add esp,4
|
|
static cleanup Entity_Effect* Entity::SpawnFollowingEffect198(Entity* parent<ecx>, Vector* offset<edx>, Vector* targetPosition, int timeout, ColorMod* color, float scale); // plain RET; ECX entity, EDX added to _pos for spawn, [ebp+8] -> effect _targetPosition, [+0xc] timeout/lifespan, [+0x10] SetColor, [+0x14] scale; callers 0045bf06 push 4.0; push &color; push esi; push &vec; lea edx; mov ecx; add esp,0x10
|
|
__thiscall Entity_Effect* Entity::MakeGroundPoof(Vector* position, ColorMod* color, float size<xmm2>); // RET 0x8; movss [esp+0x10],xmm2 at entry -> _spriteScale of both poofs; returns first poof (second set as its child); caller 0042b8fe movss xmm2,[..]; push color; push &pos
|
|
__thiscall float<xmm0> Entity_Tear::get_height_offset_y(float height<xmm1>); // plain RET; movss [ebp-4],xmm1 at entry; callers 0063411f movaps xmm1,xmm0; call; movss [esi+0x350],xmm0
|
|
static cleanup void ANM2::LoadDeliriumForm(ANM2* sprite<ecx>, int type<edx>, int variant, bool isReloadAnm2); // plain RET; EDX saved at entry, [ebx+8] variant, byte [ebx+0xc] != 0 -> EntityConfig::GetEntity(type,variant) + ANM2::Load; callers 004589a2 mov edx,[npc+0x28]; lea ecx,[npc+0x48]; push 1; push [npc+0x2c]; add esp,8
|
|
static cleanup void Entity_Tear::ApplyTearFlagEffects(Entity* entity<ecx>, Vector* position<edx>, BitSet128 flags, Entity* source, float damage); // plain RET; EDX saved, [ebp+0x18] source; callers 0043497f mov edx; push float; push source; sub esp,0x10 (flags by value); mov ecx; add esp,0x18 (REPENTOGON decl)
|
|
__thiscall void* std::string::replace(unsigned int position, unsigned int count, char* text, unsigned int textLength); // RET 0x10; [ebp+8] pos checked vs size +0x10, [+0xc] count clamped, [+0x10]/[+0x14] memmove source/length, eax = this; callers 00476e1a push 0x23; push str; push 6; push 4; lea ecx,[str]
|
|
static cleanup float<xmm0> assert_lerp_range(float value<xmm0>, float inMin<xmm1>, float inMax<xmm2>, float outMin<xmm3>, float outMax, bool isClamped<ecx>); // plain RET at 00a156c4 (Ghidra cuts the body at the 'noreturn' log); t=(xmm0-xmm1)/(xmm2-xmm1) clamped 0..1 when CL, returns xmm3+([ebp+8]-xmm3)*t; callers 005d447c mov cl,1; xmm0..3; push float; add esp,4 (misnamed: a remap, the assert is only the inMin==inMax log)
|
|
__cdecl float<xmm0> Math::lerp(float a<xmm0>, float b<xmm1>, float t<xmm2>, bool isClamped<ecx>); // plain RET, no stack; t clamped 0..1 when CL != 0, xmm0 = a+(b-a)*t; callers 00656c43 xmm1/xmm2/xmm0 set, xor cl,cl, reads xmm0 after
|
|
__thiscall void* GridEntity_Door::play_animation(void* outUserInfo, void* productUserId, void* epicAccountId, bool isFlag); // RET 0x10; [ebp+8] SmartPointer<EpicUserInfoType> out (returned, mov eax,ebx), [+0xc]/[+0x10] product/epic account ids, byte [+0x14] stored in new record; callers 00a7054c push 0; push 0; push edi; push &out; mov ecx,esi (MISNAMED: EOS user-info lookup, the ZHL exact sig hit the wrong function)
|
|
static cleanup KColor* hsv_to_rgb(KColor* outColor<ecx>, float hue<xmm1>, float saturation<xmm2>, float value<xmm3>, float alpha); // plain RET; xmm0 overwritten from xmm1 at entry, writes [esi]..[esi+0xc] rgb + [ebx+8] alpha, +0x10 = 0, eax = ecx; callers 00436a8b push 1.0; lea ecx,[local]; xmm1 hue; add esp,4
|
|
__fastcall uint16_t* utf8_to_utf16_alloc(char* text); // plain RET; ECX null-checked + strlen'd, EDX overwritten (mov edx,ecx) before use, no [ebp+N] reads, returns allocated wide buffer; callers 008376f1 mov ecx,str; call; mov [esi],eax
|
|
__thiscall float<xmm0> Entity::IsCollisionIgnored(Entity* other); // RET 0x4; [ebp+8] other, both exits load xmm0 (this _mass +0x37c scaled); callers 00628cdf push edi; mov ecx,esi; comiss xmm0 after (MISNAMED: returns the effective collision mass vs other, not a bool)
|
|
static cleanup void get_tear_flags_from_player(uint64_t* outDamageFlags<edx>, int unused, BitSet128 tearFlags, int unused2, Entity* source); // plain RET; EDX = 8-byte out (|= 0x4000, hi |= 8 ...), reads only [ebp+0xc..0x18] flags and [ebp+0x20] source, [ebp+8]/[ebp+0x1c] never read, ECX not read; callers 0067444a push src; sub esp,0x14; push ecx; lea edx,[zeroed qword]; add esp,0x1c (converts tear flags to damage flags)
|
|
static cleanup void RNG::Shuffle(RNG* rng<ecx>, int* begin, int* end); // plain RET at 005cc0fc (past Ghidra's body end); ECX = xorshift state, ([ebp+0xc]-[ebp+8])>>2 elements; callers 007485ed mov ecx,rng; push end; push begin; add esp,8
|
|
__thiscall bool Entity::IsType(int type, int variant, int subType); // RET 0xc; [ebp+8] == _type, -1 wildcards for [+0xc] variant/[+0x10] subtype, al = 1/0; callers 004faa46 push -1; push 0; push 0x332; mov ecx,npc; test al,al
|
|
__fastcall int stb_vorbis::codebook_decode_scalar_raw(void* vorbis, void* codebook); // plain RET (3x), no [ebp+N] reads; ECX vorbis (+0x580 acc), EDX codebook; callers 00aa2056 mov edx,ebx; mov ecx,esi; mov edi,eax
|
|
static cleanup char* utf8_decode_next(char* text<ecx>, unsigned int* outCodepoint<edx>, char* end); // plain RET; EDX out codepoint, [ebp+8] end (0 -> strlen), returns ptr past char; callers 0091f34b push end; lea edx,[cp]; add esp,4
|
|
__thiscall void Quad::rotate(Vector* pivot, float angle<xmm2>); // RET 0x4; movaps xmm0,xmm2 at entry (cos/sin), [ebp+8] pivot; callers 004094ba movss xmm2,[..]; push &pivot; lea ecx,quad
|
|
__thiscall float Vector::Distance(Vector* other); // RET 0x4; sqrt((other-this)^2), fld [ebp+8] -> ST0; callers 00620197 push &v; mov ecx,&pos; fstp after
|
|
__stdcall int ItemPool::CreateGlitchedCollectible(ProceduralItemManager* manager<ecx>, unsigned int seed, unsigned int flags); // RET 0x8 at 009dfc39 (past Ghidra's body end); ECX = Game+0x67758 _proceduralItemManager (vector begin/end), [ebp+8] xorshift seed, byte [+0xc] & 2 / & 8; callers 007336e1 push 0; lea ecx,[game+0x67758]; push ebx; no cleanup (this is not an ItemPool)
|
|
__thiscall float<xmm0> RoomTransition::get_hud_alpha(); // plain RET (3x), no stack; xmm0 = 1-progress(+0xc) / progress / 1.0; callers 007cfc12 lea ecx,[game+0x1b83c]; call; mulss xmm0,[..]
|
|
__thiscall Vector* Room::GetLaserTarget(Vector* outTarget, Vector* position, Vector* direction); // RET 0xc; [ebp+8] out zeroed then written, eax = [ebp+8]; [+0xc] pos, [+0x10] dir (scaled); callers 0049a53f push &dir; push &pos; push &out; mov ecx,room; reads [eax] after
|
|
__thiscall bool Entity_Player::TryHoldEntity(Entity* entity); // RET 0x4; [ebp+8] null-checked, copies its _visible/grid collision; callers 005b1f4c push esi; mov ecx,player; test al,al
|
|
__thiscall bool Entity_Player::IsExtraAnimationFinished(); // plain RET, no stack; al = !(+0x1398 || +0x139a); callers 0077c6e2 mov ecx,edi; test al,al
|
|
__thiscall bool ItemPool::is_collectible_available(int collectibleId, bool isFullCheck); // RET 0x8; [ebp+8] id into removed/blacklist bitsets +0x67c/+0x68c, byte [+0xc] -> Item::IsAvailable((!b)*2-3) (-1 all checks, -3 skips bit 1); callers 0065f64c push 0; push 0x87; mov ecx,pool; test al,al
|
|
__thiscall void Game::AttractEntities(Vector* position, void* filter, void* filterData, float strength<xmm2>, float radius<xmm3>); // RET 0xc; entry movaps xmm0,xmm3 (squared radius) + movss [ebp-0x24],xmm2; callers 0066daba push data; push 0x5cd950 (callback); push &pos; movss xmm2/xmm3; mov ecx,g_game
|
|
static cleanup void Entity_Projectile::apply_spawn_flags(Entity_Projectile* projectile<ecx>, int championColor<edx>, float spawnerScale<xmm1>, uint64_t spawnerFlags, Entity* spawner); // plain RET; EDX/xmm1 saved at entry, [ebp+8] flag bits 0x80/0x100/0x20000000, [+0x10] spawner; callers 006cd376 mov edx,[npc+0xc64] or -1; movss xmm1,[npc+0xc38]; push npc; push [npc+0x16c]; push [npc+0x168]; mov ecx,proj; add esp,0xc
|
|
__thiscall void Entity::PlayerCollideWithGrid(bool isSimulated); // RET 0x4 at 006ac29c (past Ghidra's body end); byte [ebx+8] != 0 skips every side effect (_collidesWithGrid, normal, velocity); callers 00418e50 push 0; mov ecx,esi; no cleanup
|
|
static cleanup Vector* Isaac::GetRenderPosition(Vector* outPosition<ecx>, Vector* source<edx>, bool isScale); // plain RET; [edx] read at entry, writes [ecx]/[ecx+4], byte [ebp+8], mov eax,esi(ecx); callers 00608911 push 1; lea edx,src; lea ecx,out; add esp,4 (REPENTOGON 'static __x86_64_output Vector' = this layout)
|
|
__thiscall void* std::_Tree_iterator::operator_decrement(); // plain RET (3x), no stack; ECX = iterator (node ptr at [ecx]), mov eax,esi(this); callers 0060bdef lea ecx,[it]; call; mov eax,[it]
|
|
__thiscall void Entity::CollideWithGrid(bool isSimulated); // RET 0x4 (9x); byte [ebp+8] != 0 skips _collidesWithGrid/position writes (same flag as PlayerCollideWithGrid); callers 0065ca5b push 1; mov ecx,esi
|
|
__thiscall void WeightedOutcomePicker::AddOutcomeWeight(int outcome, int weight, bool isNoMerge); // RET 0xc; REPENTOGON's by-value WeightedOutcomePicker_Outcome {value,weight} split into [ebp+8]/[ebp+0xc]; byte [+0x10]==0 searches 8-byte entries for the value and adds weight; callers 0059ffa6 push 0; push 0x64; push 3; lea ecx,picker
|
|
__thiscall void Entity::SetTargetPosition(Vector position); // RET 0x8; movss [ebp+8]/[ebp+0xc] -> +0x334/+0x338 (_targetPosition); callers 00622925 push [eax+4]; push [eax]; mov ecx,esi
|
|
__stdcall void TextureCache::Add(void* image, void* imageRefCount); // RET 0x8 at 0040e5c1 (past Ghidra's body end); ECX overwritten before any read; by-value SmartPointer (8 bytes) at [ebp+8]/[ebp+0xc], released via vfunc +0xc; caller 0040c07d sub esp,8; mov ecx,esp; copy-construct (0040c550); call; no cleanup
|
|
static cleanup int I420ToRGBAMatrix(uint8_t* srcY<ecx>, int srcStrideY<edx>, uint8_t* srcU, int srcStrideU, uint8_t* srcV, int srcStrideV, uint8_t* dstRgba, int dstStrideRgba, void* yuvConstants, int width, int height); // plain RET; ECX/EDX saved at entry, 9 stack args in libyuv order (null checks [ebp+8]/[+0x10]/[+0x18], width [+0x24] >0, height [+0x28]); caller 00aa98c7 7+2 pushes incl. 0xb5e4e0 constants; mov ecx,[esi+4]; mov edx,[esi+0x20]; add esp,0x24
|
|
__fastcall int deflate(void* stream, int flush); // plain RET (5x), no [ebp+N] reads; ECX z_stream null-checked, EDX flush > 4 -> Z_STREAM_ERROR; callers 00a63dce mov edx,2; mov ecx,&strm; test eax,eax
|
|
__stdcall void leaderboard_request_complete(void* request); // RET 0x4 at 00a520d4 (past Ghidra's body end); ECX first written (mov ecx,0xc5ab20) before any read, [ebp+8] request switch on [req]; callers 00a7e135 push esi; call; no cleanup
|
|
__thiscall void KAGE_Graphics::update_depth_renderbuffer(bool isForced); // RET 0x4 at 00a188e0; ECX = graphics, byte [ebp+8] != 0 skips the 'existing buffer big enough' early return; callers 00a18338 push 0; 00954267 push 0 ... mov ecx,0xc798e0
|
|
__stdcall Entity_Bomb* Weapon::fire_bomb(Weapon* weapon<ecx>, Vector* position, Vector* velocity); // RET 0x8; ECX+4 = owner (player, or familiar -> +0x410 player), forwards [ebp+8]/[ebp+0xc] to Entity_Player::FireBomb(pos, vel, owner), returns the bomb; callers 009fbed0 push &g_vectorZero; push &pos; mov ecx,edi (weapon) (MISNAMED: Weapon fire-bomb helper, ZHL prefix20/27 hit; ECX is a Weapon, not a Room)
|
|
__thiscall void PlayerManager::trigger_room_clear(); // plain RET at 009bb952, no stack; ECX = Game+0x1baa8 player vector; callers 0059316f lea ecx,[game+0x1baa8]; call; no pushes
|
|
__thiscall void HUD::render_fortune_text(void* lines); // RET 0x4; [ebp+8] container (+4 = count, 0 -> 'Text' anim); callers 0085ee7e lea eax,[local]; push eax; mov ecx,hud; 00980aa6 lea ecx,[game+0x1da04]
|
|
__thiscall void Menu_Character::set_character_menu_shown(int characterMenuShown); // RET 0x4; [ebp+8] -> this+0xdb4 then *3 indexes anm2 table 00b24120; callers 0094950e mov ecx,ebx; push [manager+0xf24]
|
|
__thiscall void SFXManager::StopLoopingSounds(); // plain RET, no stack; ECX = sound vector (0x1b8-byte entries); callers 006fa0ed lea ecx,[manager+0x2a324]; call
|
|
__stdcall void Menu_OnlineLobby::load_member_sprite(void* lobby<ecx>, int memberIndex); // RET 0x4 at 008ed90c (past Ghidra's body end); [ebx+8] -> lobby_member_sprite_get / lobby_get_member_info(this, idx); callers 008ed330 push esi (0..3); mov ecx,edi (Menu_OnlineLobby) (MISNAMED: lobby member sprite loader, the ZHL exact sig hit the wrong function; ECX is not a HUD)
|
|
__thiscall Entity* EntitySpawner::Spawn(Vector* position, Vector* velocity, Entity* spawner); // RET 0xc at 0085bf3e; advances RNG at +0x10, Game::Spawn(type [ecx], variant [ecx+4], pos, vel, spawner, subtype [ecx+8], seed), eax kept; callers 006c256a push 0; push &g_vectorZero; push &pos; mov ecx,spawner; mov esi,eax
|
|
__thiscall void Room::RemoveDoor(int doorSlot); // RET 0x4 at 008168ff (past Ghidra's body end); [ebp+8] slot > 7 rejected, indexes _doors +0x724; callers 004ab1a2 push edi (0..7); mov ecx,room
|
|
__thiscall void Entity_Player::reset_body_sprite(); // plain RET, no stack; ECX player (mov edi,ecx), loads entity 1.0.0 anm2; callers 007b0a2a mov ecx,edi; call
|
|
__thiscall Weapon_MultiShotParams* Entity_Player::GetMultiShotParams(Weapon_MultiShotParams* outParams, int weaponType); // RET 0x8 (3x); [ebp+8] out zeroed/filled and returned; callers 009f41e5 push [weapon+0x30]; push out; mov ecx,player; mov eax,[out] (REPENTOGON decl lacks __thiscall)
|
|
__thiscall bool Level::MakeRedRoomDoor(int roomIndex, int doorSlot); // RET 0x8; [ebp+8] room index (vs -20), [+0xc] slot; xor al,al failure path; callers 005b23d0 push edx(slot); push [game+0x18304]; mov ecx,level; 0073e9a3 test al,al
|
|
__thiscall void Level::ApplyMapEffect(); // plain RET at 007488ce, no frame/stack reads; ECX level (mov ebx,ecx), loops _roomCount +0x182cc; callers 00436512 mov ecx,g_game; call
|
|
__thiscall GridEntity_Poop* GridEntity_Poop::get_giga_part(int variant, bool isCreate); // RET 0x8; [ebp+8]-7 indexes tile table 0xb690f0, returns room grid entity of type 0xe with that variant (or null / created); callers 007147cb push 0; push esi(7..10); mov ecx,edi; test eax,eax
|
|
__stdcall RoomDescriptor* GameState::copy_room_list(RoomDescriptor* dest<ecx>, RoomDescriptor* source); // RET 0x4; field-by-field copy [ebp+8] -> ECX up to +0xb4 (0xb8-byte RoomDescriptor, vectors at +0x68), mov eax,edi(ecx); callers 006f8cd0 lea eax,[src]; mov ecx,dst; push eax; add esi,0xb8 (really RoomDescriptor::operator_assign; ECX is not a GameState)
|
|
__thiscall void Entity_NPC::MakeChampion(unsigned int seed, int championColor, bool isInit); // RET 0xc at 006d0bb6 (past Ghidra's body end); [ebp+8] seed, [+0xc] color (<0 = random) -> _championColorIdx, byte [+0x10] allows re-championing; callers 004e3881 push 0; push [npc+0xc64]; push [npc+0x3ec]; mov ecx,esi
|
|
__thiscall void KColor::FromRGBA255(int red, int green, int blue, int alpha); // RET 0x10; cvtdq2ps [ebp+8..+0x14] * 1/255 -> [ecx]..[ecx+0xc]; callers 0065604a push 0xff; push 0x7b; push 0x7b; push 0x8c; lea ecx,color
|
|
__thiscall void* std_map_int_insert(void* outResult, int* keyValue); // RET 0x8; [ebp+0xc] {key,value} pair, eax = [ebp+8] gets {node, inserted byte}; callers 00805ff2 push &pair; push &out; lea ecx,map
|
|
__thiscall void Entity::Die(); // plain RET, mov byte [ecx+0x173],1 (_dead); callers 006592f6 mov ecx,edi; call
|
|
__thiscall bool Entity::IsTear(); // plain RET; cmp [ecx+0x28],2; sete al; callers 0061e69e mov ecx,[eax]; test al,al
|
|
__thiscall void EntityList::invalidate_type_cache(int type, int variant, int subType); // RET 0xc; [ebp+8]/[+0xc]/[+0x10] key the std::set at this+0xe0; callers 00706190 push [e+0x30]; push [e+0x2c]; push [e+0x28]; mov ecx,list
|
|
__thiscall void* buffer_init(unsigned int count); // RET 0x4 (2x); [ebp+8] -> this+8, allocates count*4 (overflow-checked) into this+4, eax = this; callers 0060e87e push n+1; lea ecx,[local]
|
|
__cdecl unsigned int InitCpuFlags(); // plain RET (2x); xor eax/ecx before cpuid, no args; callers 00ab6afb call; mov [0xc78da0],eax
|
|
static cleanup unsigned int png_check_keyword(void* pngPtr<ecx>, char* key<edx>, char* newKey); // plain RET (5x); EDX key null-checked + strlen'd, [ebp+8] out buffer zeroed first, ECX png_ptr for warnings; callers 00a92670 lea eax,[buf]; push eax; add esp,4
|
|
__thiscall void KAGE::Filesys::ArchivedFile::~ArchivedFile(); // plain RET, no stack; ECX this: vftable 0xba05bc, deletes stream +8, frees +0x10/+0x14 buffers; callers 00a68b56 mov esi,ecx; call (scalar deleting dtor wrapper)
|
|
__thiscall bool KAGE::Network::Multiplayer::LobbySteam::request_lobby_data(void* callback, void* userData); // RET 0x8; RequestLobbyData on this+8 CSteamID, on success stores ([ebx+8],[ebx+0xc]) in the request map; callers 00a54eaf push 0; push 0xa55110; mov ecx,lobby
|
|
__stdcall void* render_quad_draw_color_shader(float* line, float thickness<xmm2>); // RET 0x4 (2x); ECX never read, movss [esp+0x10],xmm2 at entry (halved, scales the perpendicular of [ebp+8][2..3]-[0..1]); callers 0042e015 movss xmm2,1.0; push eax; 00812aac
|
|
__thiscall bool Shader::load(char* name, void* attributes, void* params); // RET 0xc (2x); [ebp+8] name copied to this+8, [+0xc] {char*,int} attrib array (null-terminated), [+0x10] -> vfunc +8 compile; callers 00a13fd7 push [+0x10]; push [+0xc]; push [+8]; mov ecx,shader; test al,al
|
|
__thiscall void* map_int_ImagePtr_subscript(int* key); // RET 0x4; [ebp+8] key -> find_node / insert 0x1c-byte node, returns &value; callers 009f251a push &key; mov ecx,map; cmp [eax],0
|
|
__thiscall void Seeds::RemoveBlockingSeedEffects(int seedEffect); // RET 0x4; [ebp+8] <= 0x4f indexes g_seedComboBans, erases each from the set at this+0x54; callers 008cdeaa push esi; lea ecx,[+0x178]
|
|
__fastcall void init_procedural_item_surfaces(ProceduralItemManager* manager); // plain RET at 009dcbae, no stack reads, EDX first written (xor edx,edx); ECX = Game+0x67758 (cmp [ebx+0xc],0); callers 006f5050 lea ecx,[game+0x67758]; call
|
|
__fastcall void GameState::write_entity_save_state(void* record, void* writer); // plain RET, no [ebp+N] reads; ECX saved entity record (0x78 stride, child at +0x6c recursed), EDX writer (vfunc +0x1c), no eax result; callers 009c9141 mov ecx,[+0x74]+ebx; mov edx,esi
|
|
__thiscall int PlayerManager::GetNumCollectibles(int collectibleId); // RET 0x4; [ebp+8] -> ItemConfig::GetCollectible, counts over players; callers 007f932a push 0x33; lea ecx,[game+0x1baa8]; cmp eax,1 (REPENTOGON's CollectibleType is not a known type)
|
|
__thiscall void Menu_Options::load_graphics(); // plain RET at 009b5015, no [ebx+8..] reads; callers 009b5303 mov ecx,esi; call
|
|
__thiscall void* FXParams::FXParams(); // plain RET, frameless; stores defaults at [ecx]..+0x9c, mov eax,ecx; callers 009932a5 lea ecx,[local]; call; push eax
|
|
__thiscall void Entity_Knife::Shoot(float charge, float range); // RET 0x8 at 00967149; movss [ebp+8]*[ebp+0xc] -> +0x45c; callers 009fb913 sub esp,8; movss [esp+4],xmm0; movss [esp],xmm1; mov ecx,knife
|
|
__stdcall void Manager::set_viewport_size(int width, int height); // RET 0x8 at 00954680 (past Ghidra's body end: KAGE_LogMessage is treated as noreturn); ECX overwritten (mov ecx,0xc798e0) before any read, [ebp+8]/[ebp+0xc] cvtdq2ps; callers 0090bf80 push esi; push [eax]; no cleanup
|
|
__thiscall void SFXManager::AdjustPitch(int soundId, float pitch); // RET 0x8 at 0092e0a6; [ebp+8] >= 0 and < count indexes 0x1b8-byte sounds; callers 0062325a push ecx; movss [esp],xmm0; push 0x393; mov ecx,sfx
|
|
__thiscall void PersistentGameDataWriter::write(PersistentGameData* data, void* header); // RET 0x8 at 0091b500; [ebx+8] data (+0x38, +700, +0xae8, +0xf64 vector), [ebx+0xc] 0x20-byte header copied and written last; callers 0090d767 push eax(+0x1018); push manager+0x14; lea ecx,writer
|
|
__thiscall void NetplayManager::join_pending_lobby(void* lobby); // RET 0x4 at 0090c0d1; [ebx+8] ConstLobby; callers 0090b29f lea eax,[esi+0x254]; push eax; lea ecx,[manager+0x4b3d8]
|
|
__thiscall void Menu_OnlineLobby::update_ready_state(); // plain RET at 008edcfc, no [ebx+8..] reads; ECX lobby menu (+0x6a8 all-ready); callers 008ea158 mov ecx,edi; call
|
|
__thiscall void Leaderboard::~Leaderboard(); // plain RET at 0085719c, no stack; ECX this (+0x248 array, vectors); callers 006f35a1 lea ecx,[game+0x1d650]; call
|
|
static cleanup char* rapidxml::internal::print_node(char* out<ecx>, void* node<edx>, int flags, int indent); // plain RET (2x); ECX out iterator, EDX node (type at +0x14), [ebp+8] flags, [ebp+0xc] indent forwarded to print_children etc., returns out; callers 00836d13 push indent; push flags; mov edx,node; add esp,8
|
|
__thiscall void Room::Render(); // plain RET at 008128ed (past Ghidra's body end), no [ebx+8..] reads; callers 006fc08e mov ecx,[game+0x18300]; call
|
|
__thiscall void Room::~Room(); // plain RET at 007ea0b5, no [ebp+8..] reads; ECX room (0x1c0 grid pointers at +0x24); callers 006f317e mov ecx,esi; call; push 0x7898; push esi (operator_delete)
|
|
__thiscall void Entity_Player::RecomputeWispCollectibles(Entity_Familiar* wisp); // RET 0x4 at 007d7c23; callers 00436d0e mov ecx,[wisp+0x410]; push edi (the wisp); 00612154 push 0 (Kill)
|
|
__thiscall void Entity_Player::PlayDelayedSFX(unsigned int soundEffectId, int soundDelay, int frameDelay, float volume<xmm2>); // RET 0xc; movaps xmm1,xmm2 at entry; callers 0075e0cf movss xmm2,[..]; push 0xf; push 0x3c; push 0x332; mov ecx,esi (REPENTOGON decl)
|
|
__fastcall void Entity_Player::update_purity_glow(Entity_Player* player); // plain RET at 007c7d6b, no [ebp+8..] reads, EDX first written (mov edx,[eax*4+0xb6bb40]); ECX = player: Purity state +0x192c picks gfx/characters/costumes/PurityGlow*, Entity_Player::ReplaceCostumeSprite; callers 00788821 mov ecx,edi (player); call (MISNAMED: Purity glow costume refresh, ZHL prefix43/44 hit)
|
|
__thiscall void Entity_Player::AnimateSad(); // plain RET, no stack; ECX player (mov edi,ecx), sound 0x10b then anim 'Sad'; callers 007c4dd2 mov ecx,edi; call
|
|
__thiscall void Entity_Player::ClearCostumes(); // plain RET, no frame/stack reads (push ecx = cdecl arg slot for 007ddf80); callers 005c891a mov ecx,edi; call
|
|
__thiscall Vector* Level::GetEnterPosition(Vector* outPosition); // RET 0x4 (8x); eax = [ebp+8] written per room index; callers 007d17d3 lea eax,[local]; push eax; mov ecx,g_game; mov ecx,[eax]
|
|
__thiscall bool ItemConfig::load_wisps_xml(char* path, void* modEntry); // RET 0x8 at 0072ac99 (past Ghidra's body end); [ebx+0xc] mod (+0xec when non-null), returns 1; callers 008f3af2 push [esi]; push path; lea ecx,[manager+0x2a404]; 006921be push 0
|
|
__cdecl void Game::DeleteSaveState(); // plain RET, ECX never read (push ecx is a stack slot; reads g_game/g_manager globals); callers 006f97ad call with no ECX setup / pushes
|
|
__thiscall void PersistentGameData::check_collection_unlocks(); // plain RET, no stack; mov eax,ecx then scans +0xae8 seen-collectible bytes; callers 00759b6d mov ecx,edi; call
|
|
__cdecl void KAGE_LogMessage(unsigned int flags, char* format); // plain RET, varargs printf-style (fmt at [ebp+0xc], va_list from [ebp+0x10]); callers push fmt; push 0x10; call; add esp,8 (more with args); [ebp+8] tested against log mask 0xc79bdc
|
|
__thiscall void std::string::_Tidy_deallocate(); // plain RET, ECX=this only (mov esi,ecx), frees if cap>=0x10, size=0 cap=0xf; also matches the jmp thunk 0040bf20
|
|
__cdecl void std::_Xlen(); // noreturn, no args: push "vector too long"; call _Xlength_error
|
|
__thiscall EntityList_EL* EntityList::QueryRadius(EntityList_EL* outResult, Vector* position, float radius<xmm3>, unsigned int partitions); // RET 0xc; movss [ebp-0x14],xmm3 at entry, eax=[ebp+8]; caller 0043d977 movss xmm3,[esi+0x370]; push 4; push &pos; push &out; ecx=EntityList(+0x1218)
|
|
__thiscall Vector* Entity_NPC::GetControllerInput(Vector* outInput, float deadzone<xmm2>); // RET 0x4; xmm2 saved at entry (input below it -> zero vector), [ebp+8] out; callers xorps xmm2 / movss xmm2,[0xbaa120]; push &out; mov ecx,npc; use eax
|
|
__stdcall void SoundEffects::PlayWithFartOverride(int soundId, float volume<xmm2>, int frameDelay, bool isLoop, float pitch); // RET 0x10; ECX overwritten (lea ecx,[ebp+8]) before use, xmm2 saved at entry; forwards to SFXManager::Play(id, vol, delay, loop, pitch, 0); caller 004552de movss xmm2,[..]; push 1.0f; push 0; push 2; push 0x375
|
|
__thiscall void* std::_Tree::_Insert_node(void* parent, int childSide, void* newNode); // RET 0xc; ECX=tree (head [ecx], ++size [ecx+4]); _Tree_id{parent, child} by value: [ebp+0xc]==0 links right ([parent+8]) else left; eax = newNode
|
|
__thiscall void trigger_set_dispatch(int triggerType, Entity* entity, Vector* position, Vector* velocity); // RET 0x10; ECX = Entity_Player+0x1fc8 (PlayerProceduralItems); forwards 4 stack args to glitched_item_effects_run -> trigger_effect_execute (Entity, Spawn position, velocity); callers push &g_vectorZero; push [..]; push npc; push 6
|
|
__stdcall void std::vector::resize(void* item); // RET 0x4; ECX never read (loads globals 0xc79784..0xc79790); copies 8 bytes from [ebp+8]; callers push &zeroed 8-byte local, no cleanup
|
|
__cdecl void std::bitset::_Xran(); // noreturn, no args: push "invalid bitset position"; call _Xout_of_range
|
|
static cleanup void spawn_blue_spider(Vector* position<ecx>, Entity* spawner<edx>, Vector* target); // plain RET; mov edi,ecx / mov ebx,edx at entry, [ebp+8] target; callers 005c7ff0 lea ecx,pos; mov edx,player; push &g_vectorZero; call; add esp,4
|
|
__thiscall float<xmm0> Entity_Familiar::apply_tear_modifiers(); // plain RET, only ECX read; result left in xmm0 (mulss xmm0 by BFFS/Hive Mind/trinket factors): callers 00438a59/00613d0d mulss xmm0,[0xbaa730] right after the call -> really a damage multiplier getter
|
|
__thiscall Vector* Vector::Vector(float x<xmm1>, float y<xmm2>); // plain RET; movss [ecx],xmm1; movss [ecx+4],xmm2; mov eax,ecx
|
|
__thiscall void Capsule::constructor(Vector* position, Vector* multiplier, float rotation, float size<xmm2>); // RET 0xc; [ebp+8] pos copied, [ebp+0xc] scaled by xmm2, [ebp+0x10] degrees*pi/180; eax not set (REPENTOGON decl matches)
|
|
__thiscall void vector_bool_resize(unsigned int newSize, bool isFillValue); // RET 0x8; [ebx+8] new bit count vs size at this+0xc; second slot never read (callers push ecx garbage, fills with false): callers push ecx; push 0x68; mov ecx,&vec
|
|
static cleanup int* LevelGenerator::get_door_target_position(int* outPosition<ecx>, int* position<edx>, int shape, int doorSlot, bool isUnk); // plain RET; mov ebx,ecx / mov esi,edx at entry, [ebp+8] shape indexes 0xc5d378 table, [ebp+0xc] slot, [ebp+0x10] to has_shape_slot; eax=ecx out; caller 0073ca65 push 1; push esi; push [ecx+0x48]; lea edx/ecx; call; add esp,0xc (REPENTOGON decl, XY = int pair)
|
|
__thiscall void ring_buffer_push(Vector* element); // RET 0x4; ECX = ring {data, capacity, count, head}, copies 8 bytes from [ebp+8]; callers (Dogma, Hush) push &npc->_pos (+0x33c); lea ecx,[x+0x50]
|
|
__thiscall Vector* players_center_position(Vector* outPosition, bool isUseCache); // RET 0x8; ECX = PlayerManager (callers lea ecx,[game+0x1baa8]); byte [ebp+0xc] returns frame-cached value; eax = [ebp+8]; caller 004ac11f push 0; push &out
|
|
static cleanup void* string_scramble_seeded(void* outString<ecx>, void* textBuf, int textBuf1, int textBuf2, int textBuf3, unsigned int textSize, unsigned int textCapacity); // plain RET; ECX = hidden out std::string (eax), std::string by value at [ebx+8..0x1f] (size +0x18, cap +0x1c checked >=0x10); callers sub esp,0x18; copy-construct at esp; lea ecx,out; call; add esp,0x18
|
|
__thiscall void Entity_Knife::InitHomingPath(Vector direction, Entity* source, float pathOffset<xmm3>); // RET 0xc (Vector by value 8 + Entity* 4); lea eax,[ebp+8] = &direction to CalculateEndPoint; xmm3 -> _pathOffset (REPENTOGON decl)
|
|
__thiscall void Entity::Interpolate(); // plain RET (vtable slot 4), only ECX read (mov edi,ecx), no stack/xmm args
|
|
__thiscall Vector* Entity_Familiar::GetFollowTargetPosition(Vector* outPosition, bool isRandomOffset); // RET 0x8; [ebp+8] out returned, byte [ebp+0xc] adds RandomVector*20 jitter; callers 004d4c43 push 0; push &out; mov ecx,familiar; read [eax]
|
|
__thiscall void SharedPtr::assign(void* other); // RET 0x4; [ebp+8] source smart pointer copied (FUN_004d7190) then swapped into ECX; caller 004d3350 push &src+0x6c; lea ecx,dst+0x6c; eax unused
|
|
__cdecl float<xmm0> sinf_wrapper(float x<xmm0>); // plain RET; push ecx (slot) + call sin 0041d520 (cvtss2sd xmm0 -> CRT sin -> cvtsd2ss xmm0); callers 00622e5d mulss xmm0,..; call; use xmm0
|
|
__fastcall int stb_vorbis::ilog(int n); // plain RET x8, only ECX read (cmp ecx,0x4000 ... movsx eax,[ecx+0xba8c50]), no EDX/stack
|
|
__stdcall void Multiplayer::set_service_provider(int providerType); // RET 0x4; ECX loaded from g_multiplayerService 0xc79a58 before use, [ebx+8] provider switch; caller 008de9ce push 2/3; call (no ECX setup)
|
|
__thiscall DestinationQuad* DestinationQuad::DestinationQuad(Vector* topLeft, Vector* topRight, Vector* bottomLeft, Vector* bottomRight); // RET 0x10; mov edx,ecx; four Vector* at [ebp+8..0x14] copied to +0/+8/+0x10/+0x18 (REPENTOGON field order); mov eax,edx
|
|
static cleanup void Isaac::DestoryWeapon(Weapon** weapon<ecx>); // plain RET, no stack: mov esi,ecx; [esi] vcall +0x14 then delete, zero slot (REPENTOGON decl)
|
|
__thiscall int64_t Popup::get_elapsed_ms(); // plain RET, only ECX (this+0x10/+0x14 start time); 64-bit result in EDX:EAX (GetTimeNs()/1e6 - start)
|
|
__cdecl void daily_challenge_refresh(); // plain RET, no args: ECX/EDX/stack never read before write (esi = g_manager, edx = esp for by-value time copy)
|
|
__thiscall void PersistentGameData::check_challenge_unlocks(); // plain RET; ECX saved at entry (mov [ebp-8],ecx), no stack/EDX/xmm reads
|
|
__thiscall void* RoomConfig::CollectRooms(void* outRooms, unsigned int stageId, int roomType, int shape, unsigned int minVariant, unsigned int maxVariant, int minDifficulty, int maxDifficulty, unsigned int* doorMask, int subType, int mode); // RET 0x2c (11 slots); [ebp+0xc]*0xc4 stage index, [ebp+0x30] mode -1 = auto, doorMask deref'd (*mask & room doors); caller 006889a9 push -1; push -1; push esi; push 0xa; push 1; push -1; push 0; push 0xd; push 1; push eax; push &out; mov ecx,RoomConfig
|
|
__thiscall bool PathFinder::is_entity_friendly(); // plain RET; only ECX read (mov esi,[ecx] = owning entity), returns al
|
|
__thiscall Entity_Player* Entity_Player::GetMainPlayer(); // plain RET; ECX only ([ecx+0x3bc] parent if type 1, else Game::GetPlayer(0) for variant 1, else 0) -> eax
|
|
__thiscall float<xmm0> Entity_Player::check_bomb_tearflags(BitSet128 tearFlags); // RET 0x10 (BitSet128 by value at [ebp+8..0x14], masked with 0xc34910..1c); returns movss xmm0 1.5 (Mr. Mega 106 / item 420 / mask hit) else 1.0; callers 00629e06 sub esp,0x10 + copy flags; call; comiss xmm0,1.5 -> a bomb radius multiplier, not a bool check
|
|
__cdecl bool ItemConfig::IsValidCollectible(int collectibleType); // plain RET, [ebp+8] id, ECX loaded from g_manager; caller 00662e2a push id; call; add esp,4; test al (REPENTOGON static cleanup)
|
|
__thiscall void Game::BombTearflagEffects(Vector* position, float radius, BitSet128 tearFlags, Entity* source, float radiusMult); // RET 0x20 = 4+4+16+4+4; ECX = Game saved at entry; caller 00669009 push 1.0f; push tear; sub esp,0x10 (flags); push 60.0f; push &pos; mov ecx,g_game (REPENTOGON decl)
|
|
static cleanup bool Entity_NPC::Redirect(int* entityType<ecx>, int* variant<edx>); // plain RET, mov esi,ecx / mov edi,edx at entry, no [ebp+n] reads; caller 00542b4d lea edx,&variant; lea ecx,&type; call; no pushes (REPENTOGON decl)
|
|
__thiscall bool Entity::is_same_segmented_body(Entity* other); // RET 0x4; ECX type switch, [ebp+8] other's _parent chain; caller 006a8eee push target; call; test al
|
|
__thiscall void Entity_Projectile::Deflect(Entity* newSpawner, Vector* velocity); // RET 0x8; [ebp+8] -> _spawnerEntity (multiset insert), [ebp+0xc] copied to _velocity (+0x360); caller 0062a810 push &vel; push familiar; mov ecx,projectile
|
|
__thiscall bool Entity_Player::HasWeaponType(int weaponType); // RET 0x4; [ebp+8] <= 0x10 indexes byte this+0x13f0, al result
|
|
__thiscall ColorMod* ColorParams::set_from_bytes(int tintR, int tintG, int tintB, int tintA, int offsetR, int offsetG, int offsetB); // RET 0x1c; mov eax,ecx; [ebp+8..0x20] cvtdq2ps * 1/255 into ColorMod tint +0..0xc and offset +0x20..0x28, colorize +0x10..0x1c zeroed
|
|
__thiscall void Sprite::set_flip_x(bool isFlipX); // RET 0x4; mov al,[ebp+8] -> byte [ecx+0x100]
|
|
__thiscall AnimationState* AnimationState::copy_assign(AnimationState* other); // RET 0x4; [ebp+8] source copied field by field into ECX (mov edi,ecx), returns this
|
|
__fastcall int ogg_sync_pageout(void* syncState, void* page); // plain RET, mov edi,ecx / mov [esp+0x14],edx at entry, no [ebp+n] reads; caller 00a8cd29 lea edx,[esi+0xcc]; mov ecx,edi; call; test eax
|
|
__stdcall void TheoraVideoManager::destroyVideoClip(void* clip); // RET 0x4; ECX never read before write (esi = global manager 0xc78d9c), [ebx+8] clip; caller 00953f89 push [ebx+0x215e0]; call (no ECX setup)
|
|
__stdcall int KAGE::System::LeaderboardManager::get_result(unsigned int handle); // RET 0x4; ECX never read (mov ecx,0xc5ab20 mutex), [ebp+8] handle 0 -> 0, else map lookup value
|
|
__thiscall void KAGE_Graphics::update_projection(); // plain RET; only ECX read ([ecx+0x68] render target, +0x9c/+0xa0 screen size), no [ebx+8] stack args
|
|
__thiscall Vector* Weapon::GetOwnerLaserOffset(Vector* outOffset, int laserOffsetId, Vector* direction); // RET 0xc; ECX = weapon ([ecx+4] owner), forwards [ebp+8..0x10] to Entity_Player::GetLaserOffset(buffer, id, direction); eax = out
|
|
__thiscall int PlayerManager::GetPlayerSlotFromController(int controllerId); // RET 0x4; [ebp+8] < 0 logs "recieved invalid controllerID" and returns -1, else slot index in eax
|
|
__thiscall void FXLayers::render_layer(int layerIndex); // RET 0x4; ECX saved at entry, [ebx+8]*0x4c indexes this->[+0x18] layer array
|
|
__thiscall void Camera::update_follow(); // plain RET; mov esi,ecx, no stack/EDX/xmm reads before write
|
|
__thiscall void SFXManager::AdjustVolume(int soundId, float volume); // RET 0x8; [ebp+8] index into 0x1b8-byte sound array at [ecx], float [ebp+0xc] -> sound +0x194
|
|
__fastcall int online_lobby_find_member_index(void* user); // plain RET; mov esi,ecx at entry (passed on to FUN_00a28590 member-id lookup), no EDX/stack reads; callers 008ec712 mov ecx,edi; call; push eax
|
|
__fastcall void lobby_password_render(void* password, Vector* position, float scale<xmm2>); // plain RET, no [ebp+n] reads; mov ebx,ecx (std::string, size +0x10), movss xmm1/xmm3,[edx]/[edx+4], xmm2 stored twice at entry as a Vector(s,s) passed to Font::DrawString; callers 008de337 lea edx,pos; movss xmm2,1.0; lea ecx,[g_manager+0x4b108]
|
|
__thiscall Vector* Room::ScreenWrapPositionImpl(Vector* outPosition, Vector* position, float marginTop, float marginRight, float marginBottom, float marginLeft<xmm3>); // RET 0x14; xmm3 saved at entry and added to _topLeftPos.x, [ebp+0x10..0x18] top/right/bottom margins; caller Room::ScreenWrapPosition 00652ab3 movss xmm3,margin; 3x margin on stack; push pos; push out
|
|
__thiscall void Entity_Player::AddBloodCharge(int amount); // RET 0x4; [ebp+8] + _effectiveBloodCharge(+0x1dac) clamped 0..99
|
|
__thiscall Vector* Entity_Player::GetMovementJoystick(Vector* outJoystick); // RET 0x4; eax = [ebp+8] written; caller 0064ed05 push &local; call; movss xmm2,[eax] (xmm0 inside is a callee result, not an arg)
|
|
__thiscall int Level::get_secret_exit_kind(); // plain RET x5; only ECX read ([ecx] stage, +4 stage type, +0xc), eax result 0..4
|
|
__fastcall void* Level::pick_boss_room_config(int bossId, unsigned int seed); // plain RET, no stack reads; mov edi,edx / mov edx,ecx at entry (ECX boss id, negated if <0; EDX RNG seed); callers 007394b9 mov edx,xorshift(seed); mov ecx,edi; call; test eax (RoomConfig_Room*)
|
|
__thiscall void GridEntity_Door::LoadSprite(); // plain RET; mov edi,ecx, no [ebx+8] stack reads (aligned frame via ebx)
|
|
__thiscall int Entity_Pickup::AssignOptionsIndex(); // plain RET; mov edi,ecx only, returns max(+0x528 over pickups)+1 in eax
|
|
__thiscall void Entity_NPC::fire_projectile_from_params(Entity_Projectile* projectile); // RET 0x4; ECX = npc (+0xc63/+0xc64/+0xc38/+0x168), [ebp+8] becomes ECX of Entity_Projectile::apply_spawn_flags 006cb010
|
|
__thiscall bool Entity::is_valid_boss_enemy(int unused); // RET 0x4 but the stack slot is never read (frameless, no [esp+0xc]); callers 004afcb3 push ecx (dummy); mov ecx,entity; call; test al
|
|
__thiscall void Entity_Tear::ChangeVariant(int variant); // RET 0x4; mov edi,ecx, [ebx+8] new variant (aligned ebx frame)
|
|
__thiscall void Entity_NPC::render_overlay(Vector* offset, bool isShadow); // RET 0x8; byte [ebp+0xc] != 0 renders with black ColorMod (0,0,0,1); RenderShadowLayer 006d4857 push 1; push edi(offset), Render/others push 0
|
|
__thiscall bool Room::IsClear(); // plain RET; mov eax,[ecx+4]; mov al,[eax+0x44]; and al,1
|
|
__thiscall void OnlineEmotes::destructor(); // plain RET; mov esi,ecx only, resets fields and the two ANM2s at +0x14/+0x128
|
|
__thiscall EntityList_EL* EntityList::query_player_capsule_hits(EntityList_EL* outResult, void* capsule, unsigned int partitions); // RET 0xc; same body shape as QueryRadius (partition bits 1/2/4/8/0x10/0x20/0x40 on [ebp+0x10], copies into [ebp+8] list); caller 004df954 push 0x20; push &capsule; push &out; lea ecx,[room+0x1218] -> matches REPENTOGON EntityList::QueryCapsule(result, Capsule*, Partitions)
|
|
static cleanup void jpeg_make_d_derived_tbl(void* cinfo<ecx>, bool isDc<edx>, int tableNo, void* outTable); // plain RET; mov ebx,ecx / mov al,dl at entry, [ebp+8] tblno (0..3 else JERR 0x34), [ebp+0xc] pdtbl; callers 00ac1641 mov dl,1; push &tbl; push tblno; mov ecx,cinfo (no add esp after: caller frame restores esp)
|
|
__fastcall int tdefl_flush_block(void* compressor, int flush); // plain RET, mov esi,ecx / mov ebx,edx at entry, no [ebp+n] reads; callers 00a88f7c ecx/edx set, no pushes; eax result tested
|
|
__fastcall void png_info_destroy(void* pngPtr, void* infoPtr); // plain RET, ECX png_ptr (free fn), EDX info (mov esi,edx), no [ebp+n] reads; caller 009e89d4 mov ecx,png; mov edx,info; call
|
|
__thiscall void KAGE::Filesys::File::~File(); // plain RET; mov esi,ecx only (vftable store, fclose +0xc, free path +8)
|
|
__thiscall int Font::get_kerning(unsigned int second, unsigned int first); // RET 0x8; [ebp+8] vs entry+4, [ebp+0xc] vs entry+0 in the sorted 16-byte kerning vector at this+0x2c, short amount in eax
|
|
__thiscall KColor* KColor::KColor(float red<xmm1>, float green<xmm2>, float blue<xmm3>, float alpha); // RET 0x4; movss [ecx],xmm1 / [ecx+4],xmm2 / [ecx+8],xmm3, [ebp+8] alpha -> +0xc; mov eax,ecx
|
|
static cleanup void RichTextSpan::move_construct(void* dest<edx>, void* source); // plain RET; writes [edx] at entry, [ebp+8] source (std::string + 10 dwords), ECX not read; callers 009f0574 mov edx,dst; push src; call; add esp,4
|
|
__thiscall void ScoreSheet::add_cleared_room(int roomType, int roomShape, int clearCount, bool isFlag); // RET 0x10; [ebp+0x10]==1 gate, [ebp+0xc] shape to FUN_009e6740, byte [ebp+0x14] stored; xmm0 is the result of call 009e6940, not an arg; caller 00834403 push ebx; push 1; push eax; push [edx+8]; mov ecx,scoreSheet
|
|
__thiscall void Menu_Save::update_save_drawings(); // plain RET; mov esi,ecx, no [ebx+8] reads (aligned ebx frame)
|
|
__thiscall bool PlayerManager::are_all_players_tainted_blue_baby(int unused); // RET 0x4 but frameless and the slot is never read; callers 006df8b3 lea ecx,[game+0x1baa8]; push ecx (dummy); call; test al
|
|
__thiscall void Menu_Options::Init(Vector* position, bool isPauseScreen); // RET 0x8; [ebx+8] position copied to +0xc/+0x14, [ebx+0xc] stored at this+0; MenuManager::push_menu 0098ae6e push 0; push &pos, PauseScreen::Init 009b5883 push 1; push &pos; lea ecx,[edi+0x5b0]
|
|
__thiscall void Minimap::refresh_room_icons(); // plain RET (the 'ret 0x98' hits at 0098d40d/0098d421 are misdecoded jump-table data); mov edi,ecx, no stack args
|
|
__thiscall void Entity_Knife::copy_parent_state(Entity_Knife* source); // RET 0x4; [ebx+8] source knife (+0x34c/+0x350, tear flags +0x410..), mov esi,ecx
|
|
__thiscall GameState* GameState::constructor(); // plain RET; mov edi,ecx, no stack args; mov eax,edi at 009c7738 before the epilogue
|
|
__thiscall void Menu_Challenge::reset(); // plain RET; mov edi,ecx (MenuManager+0x2688), no stack/EDX reads
|
|
__thiscall void* std_map_copy_assign(void* other); // RET 0x4; [ebp+8] source tree (skipped if == ECX), mov eax,edi (this) on both exits
|
|
__thiscall void PersistentGameDataReader::read(PersistentGameData* data); // RET 0x4; mov esi,ecx (reader, stream +0x48), [ebp+8] data (+0x38 achievements ...)
|
|
__thiscall void* NetplayManager::get_drop_entry(uint64_t userId); // RET 0x8; [ebp+8]/[ebp+0xc] low/high of the 64-bit user id; callers 008d181d push [x+4]; push [x]; lea ecx,[g_manager+0x4b3d8]; use eax entry
|
|
__thiscall void FriendEntry::~FriendEntry(); // plain RET; mov esi,ecx only (ConstLobby at +8 released, UserProfileBase vftable reset)
|
|
__stdcall void InfoDisplay::describe_pickup_stats(ItemConfig_Item* item, void* outEntry); // RET 0x8; ECX written before any read (mov ecx,[eax+0x30]), [ebx+8] item (null-checked, GetLocalizedName), [ebx+0xc] entry (name +8, 0x68-byte line vector +0x2c); callers 0084f107 push &entry; push esi; call (no ECX setup)
|
|
__thiscall void RoomTransition::start(int roomIndex, int direction, int transitionType, Entity_Player* player, int dimension); // RET 0x14; mov edi,ecx = RoomTransition (Game+0x1b83c), [ebx+8..0x18]; only caller Game::StartRoomTransition 006fdb87 push [ebp+0x18]; push [ebp+0x14]; push edi; push [ebp+0xc]; push ebx; lea ecx,[esi+0x1b83c] -> really RoomTransition's start routine, the log line is just its first statement
|
|
__thiscall void Room::render_lighting(); // plain RET; mov edi,ecx, no stack args (push eax at entry is an arg to 006856c0)
|
|
__thiscall void* vector_PathNode_emplace_reallocate(void* where, void* value); // RET 0x8; mov ebx,ecx (vector), [ebp+8] insert position (ptr diff /0x14), [ebp+0xc] element; caller 007e4463 push &node; push edi; lea ecx,vec
|
|
__thiscall void Entity_Player::poop_spell_roll(); // plain RET; mov esi,ecx only, no stack/EDX reads; caller 00781036 ecx=player, no pushes
|
|
__thiscall void Entity_Player::apply_coop_baby_spawn_bonus(); // plain RET x7; mov esi,ecx, switch on _babySkin (+0x1aec), no stack args
|
|
__thiscall bool Entity_Player::CanPickSoulHearts(); // plain RET; mov esi,ecx only, al result
|
|
__thiscall void Entity_Player::AnimatePill(int pillColor, char* animName); // RET 0x8; [ebp+8] pill color -> EntityConfig::GetEntity(5,0x46,color), [ebp+0xc] anim name; caller 006ec1d8 push "Pickup"-string 0xb62b20; push [pickup+0x30]; mov ecx,player
|
|
__thiscall void Entity_Player::PlayCollectibleAnim(int collectibleType, bool isCheckBodyAnim, void* animName, int frameNum, bool isUnused); // RET 0x14; caller 0077321a push 0; push -1; push &std::string; push 0; push 0x177; mov ecx,player (REPENTOGON decl, std_string& -> pointer)
|
|
__thiscall void* Level::get_room_config_from_saved_id(unsigned int* savedId, void* mergeTable); // RET 0x8; ECX saved at entry ([esp+4]), [ebp+8] packed id (0x80000000 = merged), [ebp+0xc] hash table null-checked; returns RoomConfig_Room*
|
|
__fastcall uint64_t ItemConfig::parse_tags(void* tagString); // plain RET, no stack/EDX reads; ECX is the std::string (mov esi,ecx), not ItemConfig: caller ItemConfig::Load 00727179 lea ecx,[ebp-0x78] (string); call; mov [edi+0xb8],eax; mov [edi+0xbc],edx (64-bit tag mask)
|
|
static cleanup void* luabridge::Userdata::getClass(void* luaState<ecx>, int index<edx>, void* registryClassKey, bool isCanBeConst); // plain RET; ECX->edi, EDX->esi at entry, [ebp+8] key to lua_rawgetp(L,REGISTRY,key), byte [ebp+0xc]; caller 00870678 push 1; push key; mov edx,esi; mov ecx,edi; add esp,8
|
|
__fastcall void* std::_Allocate(unsigned int size); // plain RET; ECX byte count (<0x1000 -> operator_new, else +0x23 aligned), EDX not read; caller 0040c8f8 lea ecx,[eax*4]; eax used as pointer
|
|
__fastcall void* operator_new_tracked(unsigned int size); // plain RET; ECX size forwarded to tracked_alloc(cl=0, edx=0, push size, push 0), eax passthrough; caller 00406873 mov ecx,1
|
|
__thiscall int Entity::GetIntervalTicks(float interval<xmm1>, float offset<xmm2>); // plain RET; xmm2/xmm1 stored at entry, (offset+_updateTime)/interval - (offset+_prevUpdateTime)/interval; callers 00440813 movss xmm1,[..]; xorps xmm2,xmm2; mov ecx,npc; test eax
|
|
__thiscall void* std::string::append(char* text, unsigned int length); // RET 0x8; [ebp+8] ptr, [ebp+0xc] count memmove'd, mov eax,edi (this) at every RET; caller 0047f303 push 6; push str; lea ecx,[local]
|
|
__stdcall void apply_sprite_shader_params(ColorMod* color<ecx>, bool isApplyColor, void* image, void* imageRefCount); // RET 0xc; ECX->edi (Colorize at +0x10, ColorOffset at +0x20), byte [ebp+8] gates them, [ebp+0xc]/[ebp+0x10] by-value smart pointer (TextureSize from image+0x10/+0x14, refcount released via vtable+0xc); caller 00419bd9 sub esp,8 / copy-construct at esp, push 1, lea ecx,[colormod]
|
|
__thiscall void* std::string::string_from_cstr(char* text); // RET 0x4; ECX this (cap 15 init), strlen [ebp+8] then assign, mov eax,esi (this)
|
|
__stdcall void play_sound_with_fart_seed(int soundId, float volume<xmm2>, int frameDelay, bool isLoop, float pitch); // RET 0x10; xmm2 stored at entry, ECX overwritten (lea ecx,[ebp+8]); forwards to SoundEffects::Play(id, vol, delay, loop, pitch, 0); caller 0043462d movss xmm2,1.0; push 1.0; push 0; push 2; push 0x1ef
|
|
__thiscall void Font::render_glyph_quads(void* glyphs, float x<xmm2>, float y<xmm3>, float scaleX, float scaleY, KColor color, void* settings); // RET 0x24; xmm2 stored, xmm3 copied at entry, [ebp+0x28] settings (alignment [edi]-3, +0xc scale); caller 0068c08c push &settings; sub esp,0x14 (KColor 5 dwords); sub esp,8 (1.0,1.0); push glyphs; movss xmm2/xmm3
|
|
__stdcall void Player_stats_add(void* onlineStats<ecx>, unsigned int statId, Entity_Player* player, float amount<xmm3>); // RET 0x8; ECX->esi (+0x450 flag), [ebp+8] stat index <0x16, [ebp+0xc] to player_get_net_user_id, xmm3 stored at entry and added; caller 00662cd0 movss xmm3,1.0; push ebx; push 0xb; lea ecx,[g_game+0x1bbe0]
|
|
static cleanup void png_write_chunk_header(void* pngPtr<ecx>, uint8_t* chunkName<edx>, unsigned int length); // plain RET; ECX->edi, EDX->esi (4-byte name crc'd), [ebp+8] length written big-endian; caller 009e8e06 mov edx,"IEND"; push 0; mov ecx,esi; add esp,4
|
|
static cleanup Entity_Effect* Entity_Effect::CreateTimer(void* fn<ecx>, uint32_t delay<edx>, uint32_t times, bool isPersistent); // plain RET (REPENTOGON decl); ECX->esi -> +0x420, EDX->edi -> +0x424, [ebp+8] -> +0x428, byte [ebp+0xc] sets flag; caller 00452850 mov edx,1; push 0; push 0xf; mov ecx,fn; add esp,8; eax = effect
|
|
__stdcall void Game::DamageRadius(Vector* position, Entity* source, uint64_t damageFlags, bool isDamagePlayers, int unused, float playerDamageThreshold, BitSet128 tearFlags, float damage<xmm2>, float radius<xmm3>); // RET 0x2c; ECX written before read (not a thiscall); xmm2 stored at entry, xmm3 passed through to EntityList::QueryRadius(radius<xmm3>); [ebx+0x1c] never read; caller 00461c63 sub esp,0x10 tearFlags; sub esp,8 (+4 = 50.0); push 0,0,0; push source; push &pos
|
|
static cleanup int ItemPool::GetSeededCollectible(uint32_t seed<ecx>, bool isNoDecrease<edx>, RoomDescriptor* roomDesc); // plain RET (REPENTOGON decl); ECX->esi seed, DL->bl, [ebp+8] room desc; caller 00651220 xor dl,dl; mov ecx,seed; push [esi+4]; add esp,4; eax = collectible
|
|
__thiscall int std::vector::size(); // plain RET; (end-begin)>>2 from ECX, ICF-folded; callers mov ecx,vec / test eax
|
|
__thiscall Entity* Game::spawn_bomb_crater(Vector* position, Entity* spawner, float scale<xmm2>); // RET 0x8; xmm2 stored at entry (sprite scale), [ebp+8] pos and [ebp+0xc] spawner to Spawn(1000,18,...), mov eax,ebx; caller 0043da0c movss xmm2,1.0; push 0; push &pos; mov ecx,g_game
|
|
__thiscall void Menu_Save::select_save_slot(void* lobbyHandleVtable, void* lobby, void* lobbyRefCount); // RET 0xc (REPENTOGON's (uint32_t slot) fails it); 12-byte by-value handle {vtable 0xb9c1bc, ptr, refcount}: [ebp+0xc] virtual calls (+0x30 "lobby_mode"/"lobby_tag"); caller 0085b1d9 sub esp,0xc; [esp]=vtable; shared_ptr::assign at esp+4; mov ecx,esi
|
|
__stdcall void SoundEffects::PlayWithFartOverride2(int soundId, int unused, int frameDelay, bool isLoop, float pitch, float volume<xmm3>); // RET 0x14; ECX overwritten (lea ecx,[ebp+8]), xmm3 stored at entry; [ebp+0xc] never read; Play(id, xmm3, [0x10], [0x14], [0x18], 0); caller 0056c09f movss xmm3,1.0; push 1.0; push 0; push 2; push ecx; push 0x4d
|
|
static cleanup int std::string::find_last_of(char* data<ecx>, unsigned int size<edx>, unsigned int position, char* chars, unsigned int count); // plain RET; ECX->edi data, EDX size, [ebp+8] pos, [ebp+0xc] set, [ebp+0x10] set length; caller 006baae4 mov edx,[esi+0x84]; push x; push 1; push "/"; push -1; add esp,0x10 (4th pushed dword is never read)
|
|
__stdcall bool render_input_button_icon(int controllerIndex, int action, int bindingIndex, bool isTryFallback, ColorMod color, Vector pos); // RET 0x44 = 4*4 + 0x2c + 8; ECX overwritten with g_manager; forwards to Manager::render_controller_action_glyph(...) with scale g_vectorOne, eax passthrough; caller 008599e2 push 0; push 0x18; push eax
|
|
__thiscall int Entity::get_velocity_direction(); // plain RET; reads _velocity at ECX+0x360/+0x364, eax = 0..3
|
|
__thiscall void Entity_Familiar::set_player(Entity_Player* player); // RET 0x4; ECX->esi familiar; caller 0064baf9 push [esi+0x414]; mov ecx,esi
|
|
__thiscall void ChallengeParams::ChallengeParams(); // plain RET; ECX->edi, no stack/EDX reads; callers lea ecx,[edi+0x10] (the same-named move ctor 0095c6a0 has RET 0x4, so this line does not match it)
|
|
__thiscall void LayerState::SetTexture(void* texture, void* textureRefCount); // RET 0x8; by-value smart pointer: [ebp+8] image (+0x30 filter modes), [ebp+0xc] refcount; caller 0040c0b6 sub esp,8; mov ecx,esp; construct; mov ecx,layer
|
|
__thiscall void* NetworkManager::get_peer(void* outPeer, uint64_t* userId); // RET 0x8; ECX->edi (mutex at +0x10, map at +8), [ebp+0xc] 64-bit id, shared_ptr written to [ebp+8] and returned in eax; caller 008edaca push &id; push &out
|
|
__thiscall void Font::draw_string_wide(uint16_t* text, float x<xmm2>, float y<xmm3>, float scaleX, float scaleY, KColor* color, void* settings); // RET 0x14; xmm3/xmm2 stored at entry, [ebp+0xc]/[ebp+0x10] floats, [ebp+0x14] dereferenced, [ebp+0x18] settings; caller 00837dd0 sub esp,8 (two floats); push [esi]
|
|
__thiscall Vector* Vector::__div_assign(float* divisor); // RET 0x4; x,y divided by [[ebp+8]], mov eax,ecx
|
|
static cleanup Entity_Laser* Weapon::FireBrimstone(Entity* entity<ecx>, Vector* position<edx>, Vector* direction, float damageMult<xmm3>, float unk1, unsigned int unk2); // plain RET (REPENTOGON decl); caller 0064a0a0 movss xmm3,1.0; push 0; push ecx; push &dir; lea edx,[edi+0x33c]; mov ecx,edi; add esp,0xc
|
|
__thiscall void PlayerManager::trigger_new_room_effects(); // plain RET; ECX = PlayerManager (00417860 result), no stack args; caller 0068e33e mov ecx,eax
|
|
__stdcall void Manager::queue_achievement_popup(int achievementId); // RET 0x4; ECX not read (g_manager loaded directly); caller 00759b59 push 0x184 with no ECX setup
|
|
__thiscall bool NetplayManager::check_connection(); // plain RET; ECX this (+0x58 popup id); callers lea ecx,[g_manager+0x4b3d8]; test al,al
|
|
__thiscall bool Room::IsMirrorWorld(); // plain RET; this unused (ECX reloaded with g_game), callers still pass room in ECX (0x18300); al = result
|
|
__thiscall void vector16_clear_and_reserve(unsigned int count); // RET 0x4; ECX->esi vector (16-byte elements), [ebp+8] count <= 0xfffffff; caller 00430a3a push ecx; lea ecx,[vec]
|
|
__thiscall Entity_Familiar* Entity_Player::ThrowBlueSpider(Vector* position, Vector* target); // RET 0x8; ++_numBlueSpiders, spawn_blue_spider(ecx=[ebp+8], edx=this, push [ebp+0xc]) result left in eax; caller 00660b50 push &g_vectorZero; push &pos; mov ecx,player
|
|
__thiscall void vector_LevelGenerator_Room_reserve(unsigned int count); // RET 0x4; ECX vector of 0x48-byte rooms, [ebp+8] capacity; caller 0074361e push 7; lea ecx,[local vec]
|
|
__thiscall void GridEntity_Spikes::unsummon(bool isInstant); // RET 0x4; ECX this, byte [ebp+8] != 0 jumps the unsummon anim to its frame (SetFrameFloat); caller 0070b0ea push 0; mov ecx,spikes
|
|
__thiscall void EntitySaveStateRef::Set(void* state); // RET 0x4; ECX ref {ptr, ReferenceCount*}: wraps [ebp+8] in a new ReferenceCount<EntitySaveState>, releases the old at ECX+4; caller 006e1771 push eax; mov ecx,edi
|
|
__thiscall Entity_Effect* Entity::MakeGroundPoofAtSelf(ColorMod* color, float size<xmm1>); // RET 0x4; movaps xmm2,xmm1 at entry then MakeGroundPoof(&_pos, [ebp+8], size<xmm2>), eax passthrough; caller 004a524f movss xmm1,1.0; mov ecx,npc; push colormod
|
|
__thiscall bool Entity_Bomb::IsRocket(); // plain RET; variant (ECX+0x2c) == 19 or 20 -> al
|
|
__thiscall void Entity_Tear::SetDeadEyeIntensity(float intensity); // RET 0x4; ECX this; callers push ecx; movss [esp],xmm0; mov ecx,tear
|
|
__stdcall void NpcHelper::tuff_twins_play_anim(Entity_NPC* npc<ecx>, char* animName, int unused); // RET 0x8; ECX npc (+0xbc4 alt body, sprite +0x48), [ebp+8] name; [ebp+0xc] never read; caller 00599f50 push ecx; mov ecx,esi; push name
|
|
__thiscall void* std::iterator_copy(void* outIterator); // RET 0x4; *[ebp+8] = *ECX, eax = out; caller 0062463b lea eax,[local]; push eax; mov ecx,esi; push eax (result)
|
|
__thiscall bool Entity::IsProjectile(); // plain RET; type (ECX+0x28) == 9 -> sete al
|
|
__stdcall void* render_build_sprite_quad(void* outQuad, Vector* position, void* frame, LayerState* layer, Vector* cropTopLeft, Vector* cropBottomRight, ANM2* anm2); // RET 0x1c; ECX/EDX/xmm written before read; [ebp+0x14] +0x32/+0x33/+0x34/+0x8c match LayerState, [ebp+0x20] +0x94/+0x9c/+0x100/+0x110 match ANM2; returns [ebp+8]; caller 0040b770 push &g_vectorZero x2; push edi; push eax; push ebx+0x18; push &local
|
|
__fastcall int64_t ogg_page_granulepos(void* page); // plain RET; ECX ogg_page (header ptr at [ecx]), bytes 6..13 -> edx:eax (EDX first written by cdq); caller 00a8cd72 lea ecx,[esi+0xcc]; test edx,edx
|
|
__thiscall void KAGE::System::UserProfile::set_id(uint64_t* userId, char* displayName); // RET 0x8; ECX profile (id at +8/+0xc), [ebp+8] new 64-bit id, [ebp+0xc] name; caller 00a6fb43 mov ecx,esi; push [eax+8]; push &id
|
|
__thiscall void SoundInstance::SoundInstance(); // plain RET; ECX this (smart pointer, volume 1.0 at +0xc, pitch +0x14), no stack/EDX reads; caller 007df2b5 mov esi,ecx; call
|
|
__stdcall bool file_exists(char* path); // RET 0x4 (00a17860; the other file_exists 00a524b0 has plain RET so this does not fit it); ECX overwritten with FileSystem 0xc379e0; caller 006b9fcb push path; test al,al
|
|
__thiscall void GameState::~GameState(); // plain RET; ECX->edi, no stack args; callers lea ecx,[gamestate]
|
|
__thiscall Entity_Player* PlayerManager::SpawnCoPlayerBaby(int babyId); // RET 0x4 at 009b9955 (REPENTOGON decl; Ghidra's body stops at 61 bytes because KAGE_LogMessage is marked noreturn, so its purge may be unknown); caller 0076effb push 0x3b; mov ecx,playerManager; eax used
|
|
__thiscall Vector* Entity_Laser::calc_end_point(Vector* outEndPoint, Vector* start, Vector* direction); // RET 0xc; ECX->edi laser; forwards [ebp+8..0x10] to CalculateEndPoint(out, start, dir, &_posOffset, _parent, margin), returns [ebp+8]; caller 00970ac6 push &a; push &b; push &out; mov ecx,esi
|
|
__thiscall void Camera::update_focus_position(bool isSkipFocusBuffer); // RET 0x4 at 009446d2 (tsv size short, KAGE_LogMessage noreturn); ECX camera; byte [ebp+8] == 0 updates _focusPositionBuffer; callers 0042a7fc push 0; mov ecx,esi
|
|
__thiscall void OptionsConfig::set_fullscreen(bool isFullscreen); // RET 0x4; ECX->esi, dl from [ebp+8] -> +0x24 and to the window switch; caller 00896ac9 push [ebp+8]; lea ecx,[g_manager+0x2a33c]
|
|
__thiscall void sprite_member_at_0x10_destroy(); // plain RET; lea esi,[ecx+0x10], no stack args; only unwind callers
|
|
static cleanup void* leaderboard_name_format(void* outName<ecx>, int dailyChallengeDate<edx>, int unused, int kind); // plain RET; ECX->esi out string (mov eax,esi), EDX pushed as the %d, [ebp+0xc] kind 0..3 jump table, [ebp+8] never read; caller 006fdcc2 mov edx,[g_game+0x26630]; push edi; push ecx; lea ecx,[out]; add esp,8
|
|
__thiscall void Room::TransformEntry(RoomEntry* entry, unsigned int gridIndex, unsigned int seed); // RET 0xc; ECX room saved at entry ([ecx+8] room type, [ecx+4] descriptor), [ebp+8] entry rewritten in place (type +0, variant u16 +4, subtype u16 +6); caller 004b1c2d mov ecx,room; push seed; push esi; push &entry
|
|
__thiscall void Entity_Player::UpdateCanShoot(); // plain RET; ECX->esi player, no stack args
|
|
__stdcall void* costume_path_apply_skin_color(void* outPath, void* path, int skinColor, int playerType, bool* outIsPlayerPathFound, bool* outIsSkinPathFound); // RET 0x18; ECX/EDX written before read; [ebx+0x10] skin color 1..5 (_black/_blue/...), [ebx+0x14] player type (*0x148 into EntityConfig players), last two optional bool outs; returns out; caller 007bed7d push 0; push 0; push esi; push -1; push eax; push &out
|
|
__stdcall bool Level::IsStageWithinEnd(int stage, bool isAltPath); // RET 0x8; ECX not read (push ecx is a slot, reloaded with g_game); [ebp+0xc] compared with challenge _pathType == 1 for stages 10/11; caller 007499ef movzx eax,bl; push eax; push 0xa; test al,al
|
|
__thiscall void vector_BombCostume_tidy(); // plain RET; ECX->edi vector of 0xe0-byte rules, no stack args; caller 0072ef6c lea ecx,[vec]
|
|
__thiscall void GridEntity::hurt_surroundings(float distance<xmm1>, float playerDistance<xmm2>, float damageAmount<xmm3>, int playerDamage, uint64_t damageFlags, bool isIgnoreGridCollisionClass); // RET 0x10 (REPENTOGON decl); xmm3 stored, xmm2/xmm1 copied at entry; caller 0067e224 movss xmm1,..; movaps xmm3,xmm0; push 1; push 0; push 2; push 1; movaps xmm2,xmm1; mov ecx,edi
|
|
__thiscall void Entity_Pickup::update_cycle_collectible(bool isForce); // RET 0x4; ECX->esi pickup (_cycleCollectibleCount +0x5c0); caller 006e4e07 push 0; mov ecx,edi
|
|
__stdcall void Entity_NPC_UpdateAI_dispatch(Entity_NPC* npc<ecx>); // plain RET; ECX->edi at entry, no [ebx+8..] stack reads, EDX not read first; caller 006c5093 mov ecx,edi (NPC::Update)
|
|
__thiscall void Entity_NPC::ResetPathFinderTarget(); // plain RET; zeroes ECX+0x418..0x424, no args
|
|
__thiscall ColorMod* Entity_Player::get_laser_color_copy(ColorMod* outColor); // RET 0x4; copies 0x2c bytes from ECX+0x14c4 (_laserColor) to [ebp+8], eax = out; caller 0066b117 lea eax,[local]; push eax; mov ecx,player
|
|
__thiscall void Entity_NPC::UpdateCordChain(bool isHalfScale); // RET 0x4; byte [ebp+8] != 0 selects 0.5 instead of 1.0 at entry; ECX->ebx npc; caller 004ae370 mov ecx,edi; push [ebp-0x140]
|
|
__thiscall TemporaryEffect* TemporaryEffect::TemporaryEffect(ItemConfig_Item* item); // RET 0x4; {item, 0, item+0x78, 0} at ECX, mov eax,ecx; caller 0077496c push eax (item); lea ecx,[local]; push eax (result)
|
|
__thiscall bool Entity::IsFamiliar(); // plain RET; type (ECX+0x28) == 3 -> sete al
|
|
__thiscall void EntityList::Update(bool isTransition); // RET 0x4 at 00419743; ECX list; byte [ebx+8] != 0 restricts updates to entities with flag 0x100000000000; callers 00803e62 push 0 (Room::Update), 0083191a push 1 (RoomTransition::Update); lea ecx,[room+0x1218]
|
|
static cleanup int memcmp_eq(void* a<ecx>, void* b<edx>, unsigned int size); // plain RET; ECX/EDX compared dword then byte-wise, [ebp+8] length, eax 0 or +-1; caller 0041056d push esi; mov edx,0xb64fe8; add esp,4; test eax,eax
|
|
__fastcall int inflate(void* stream); // plain RET; ECX->esi z_stream (+0x1c state), EDX written before read, no stack args (flush constant-folded); caller 00a96f00 mov ecx,ebx; cmp eax,1
|
|
__fastcall char* glfw_getEGLErrorString(int error); // plain RET; ECX-0x3000 jump table, eax = string; caller 00a82aff mov ecx,eax (eglGetError result); push eax
|
|
static cleanup void* glfw_createIcon(void* image<ecx>, int xHot<edx>, int yHot, int isIcon); // plain RET; ECX->edi GLFWimage, EDX stored at entry; [ebp+8]/[ebp+0xc] stack; caller 00a5d604 push 1; push 0; xor edx,edx; mov ecx,edi (00a5cedf: cleanup folded into a later add esp,0x10); eax = HICON
|
|
__thiscall void* SoundManager::load_sound(void* outSound, char* path, void* fileSource, bool isStream); // RET 0x10 (virtual, vtable +0x24); ECX->esi manager, [ebp+8] smart-pointer out returned; caller 0092d06a push 0; push 0; push path; push &out; mov ecx,0xc5aaa0; call [eax+0x24]
|
|
__thiscall void Font::draw_string_wide_unscaled(uint16_t* text, float x<xmm2>, float y<xmm3>, KColor* color, void* settings); // RET 0xc; xmm3/xmm2 stored at entry, [ebp+8] text, [ebp+0xc] dereferenced color, [ebp+0x10] settings; caller 008374b2 push &settings; push &color (ebx+0x114); push [edi]; subss xmm2
|
|
__thiscall Entity_Laser* Weapon::fire_laser(Vector* position, unsigned int offsetId, Vector* direction, bool isLeftEye, bool isOneHit, float damageScale); // RET 0x18; ECX weapon; args forwarded unchanged to Entity_Player::FireTechLaser(pos, offsetID, dir, leftEye, oneHit, 0, damageScale); caller 00a0669c movss [esp],xmm0; push 1; push 1; push eax; push [ebp+0x10]; push &pos
|
|
__thiscall Vector* Font::measure_rich_text(Vector* outSize, char* text, int maxWidth, float scale<xmm3>); // RET 0xc; movaps xmm2,xmm3 at entry, ECX->esi font; returns [ebp+8]; caller 0083f20f movss xmm3,..; push width; push esi (text); push &out; lea ecx,[edi+0x384]
|
|
__thiscall void* ScoreSheet::ScoreSheet(); // plain RET; ECX->esi, zeroes vectors then reset, mov eax,esi; caller 006f1bce lea ecx,[game+0x266e4]
|
|
__cdecl bool has_all_completion_marks(); // plain RET; no ECX/EDX/stack reads (edx = 0xc35ed0 table, esi = g_manager); callers call with nothing set up, mov [..],al
|
|
__fastcall void MessagePopup::add_yes_no_buttons(char* message, void* popup); // plain RET, no stack args; ECX saved at entry (string constant e.g. 0xb760e4 "##GAME###Online/NO_LOBBIES_FOUND"), EDX->edi popup; caller 008e6829 lea edx,[popup]; mov ecx,0xb760e4
|
|
__stdcall Vector* PlayerManager::find_safe_spawn_position(Vector* outPosition, Vector position); // RET 0xc; ECX zeroed before use (not a thiscall), [ebp+8] out returned, [ebp+0xc..0x10] position by value; caller 007a22e1 push [esp+0xc]; push [esp+0xc] (pos copy); push &out; mov ecx,[eax]
|
|
__thiscall bool LevelGenerator::try_resize_room(void* room, int roomShape, unsigned int* possibleDoors); // RET 0xc; ECX generator, [ebp+8] room (+0x20/+0x28), [ebp+0xc] shape, [ebp+0x10] door bitset (indexed >>5); caller 009ae105 push [ebp+0xc] (&possibleDoors); push [ebp+8] (shape); push room; mov ecx,edi; test al,al
|
|
__thiscall void MenuManager::Init(); // plain RET at 00988b9d (REPENTOGON decl; Ghidra body stops at 90 bytes after the KAGE_LogMessage call at 009874a5, tsv shows nothing until 00988ba0); ECX not read (g_menuManager used), callers mov ecx,eax (new menu manager)
|
|
__thiscall void* ChallengeParams::copy_constructor(ChallengeParam* other); // RET 0x4; ECX->ebx destination (0xa4 bytes), [ebp+8] source, mov eax,ebx; caller 009577df push &src; mov ecx,[vec end]
|
|
__thiscall void Backdrop::load_details(); // plain RET; ECX backdrop, no [ebx+8..] stack reads; caller 004ab1cf lea ecx,[room+0x1bc8]
|
|
__thiscall bool PersistentGameData::TryAddBestiaryEncounter(int type, int variant); // RET 0x8; ECX->ebx (+1 flag), [ebp+8]/[ebp+0xc] to GetBestiaryConfig, mov al,1 paths; caller 006c10b0 push [esi+0x2c]; push [esi+0x28]; lea ecx,[g_manager+0x14]
|
|
__thiscall void* PersistentGameDataWriter::compress(unsigned int* outSize); // RET 0x4; ECX->edi writer (stream at +0x48), [ebp+8] receives the size, eax = compressed buffer; caller 0090c1bc lea eax,[size]; push eax; lea ecx,[writer]
|
|
__cdecl int online_lobby_get_member_count(); // plain RET; no ECX/EDX/stack reads (copies g_multiplayerLobbyPtr), eax = count; caller 008d130a call with nothing set up, lea esi,[eax-1]
|
|
__stdcall void render_lobby_info(void* panel<ecx>, void* lobbyHandleVtable, void* lobby, void* lobbyRefCount); // RET 0xc; ECX->esi panel (position at +0/+4, sub-object +0x38), 12-byte by-value lobby handle {vtable 0xb9c1bc, ptr, refcount} like Menu_Save::select_save_slot; caller 008deda6 [ecx]=0,[ecx+4]=0 at esp+4, shared_ptr assign, mov ecx,edi
|
|
__thiscall void text_image_cache_reset(); // plain RET; ECX object (two 0xcc-byte records at +0x128), EDX written first; caller 0042a827 lea ecx,[g_game+0x233a8]
|
|
__thiscall RoomEntry* Spawn::PickEntry(float value); // RET 0x4; movss xmm1,[ebp+8] * total weight (ECX+0xc), 0xc-byte entries at [ECX+4], count byte ECX+8; eax = entry; caller 004b1b9d push ecx; movss [esp],xmm0; mov ecx,esi; movq xmm0,[eax]
|
|
__thiscall void Room::SpawnClearAward(); // plain RET at 007fe0b3 (next function 007fe220); ECX room, no stack args; callers 007efb31 mov ecx,esi
|
|
__thiscall void* vector_PathNode_emplace_reallocate_copy(void* where, void* value); // RET 0x8; ECX->ebx vector of 0x14-byte nodes, [ebp+8] insert position, [ebp+0xc] value copied (5 dwords); caller 007e7204 push &node; push 0; lea ecx,[vec]
|
|
__thiscall bool Entity_Player::SwapForgottenForm(bool isForce, bool isNoEffects); // RET 0x8; ECX player; body is the Forgotten/Soul (16/17, 0x25/0x27) form swap, byte [ebx+8]==0 applies cooldown/health checks, byte [ebx+0xc]==0 sets _forgottenSwapFormCooldown 15; caller 007cea0f push 1; push 1; mov ecx,ebx; caller 007a4316 push 0; push 0; test al,al
|
|
__thiscall float<xmm0> Entity_Player::get_voice_pitch(); // plain RET; ECX->esi player, result clamped with minss xmm0 right before RET; caller 007747d5 mov ecx,edi; call; movss [ebp-0xfc],xmm0
|
|
__thiscall bool Entity_Player::CanPickupItem(); // plain RET; ECX->edi player (sprite anim name at +0x7c, +0x1398/+0x139a flags), mov al,0/1
|
|
__thiscall void Entity_Player::trigger_collectible_effect_removed(ItemConfig_Item* item, int count); // RET 0x8 at 00794cf0 (tsv body short); ECX->edi player, [ebp+8]->ebx item; [ebp+0xc] is never read; caller 00930462 push edi; push ebx; mov ecx,[esi+0x14]
|
|
__thiscall bool Entity_Player::TryUseKey(); // plain RET; ECX->edi player (_hasGoldenKey +0x1360, keys +0x135c); callers mov ecx,player; test al,al
|
|
__thiscall void Level::write_room_config(void* roomConfig, void* gameStateRoom, void* deque); // RET 0xc (REPENTOGON says static, which RET 0xc rejects); ECX only saved and passed on to the recursive call, [ebp+8] room config (+0x4c flags), [ebp+0xc] out record, [ebp+0x10] deque or 0; caller 007080ce push 0; push &gs; push ecx; mov ecx,edi
|
|
__thiscall void History::remove_index_refs(int index); // RET 0x4; ECX history (16 indices at +0x14), [ebp+8] removed index; caller 00721c46 push esi; mov ecx,edi
|
|
__cdecl float<xmm0> sqrtf(float x<xmm0>); // plain RET; cvtss2sd xmm0,xmm0 at entry, result cvtsd2ss -> xmm0; caller 0041e52b computes xmm0 then comiss xmm0 after call
|
|
__thiscall std_string* std::string::assign(char* text, unsigned int length); // RET 0x8; ECX this (mov esi,ecx), [ebp+8] src -> memmove, [ebp+0xc] length; mov eax,esi returns this
|
|
__thiscall bool Sprite::IsEventTriggered(void* eventName); // RET 0x4; void* because the same name also covers 0040b000 (RET 0x4, takes std::string*: cap [p+0x14] >= 0x10 -> [p]); null _animData -> xor al,al, else forwards [ebp+8] to AnimationState::IsEventTriggered(this+0x30)
|
|
__cdecl float<xmm0> fmodf(float x<xmm0>, float y<xmm1>); // plain RET; cvtss2sd xmm0 and xmm1 at entry -> fld/fprem helper, result cvtpd2ps -> xmm0
|
|
static cleanup Entity* spawn_blood_explosion(int subType<ecx>, Vector* position<edx>, Vector* spriteOffset, ColorMod* color, Vector* velocity); // plain RET; ECX->Spawn subtype, EDX->Spawn pos, [ebp+8] -> _sprite._offset, [ebp+0xc] -> vtable+0x3c SetColor, [ebp+0x10] -> Spawn velocity; callers 0044b930/00467f12 mov ecx,2/3; mov edx,pos; 3 pushes; add esp,0xc
|
|
__thiscall void AnimationState::AdvanceLayerPosition(int layerId, float targetFrame<xmm2>); // RET 0x4; [ebp+8] layer index bounds-checked, movaps xmm1,xmm2 at entry compared to frame keys
|
|
__cdecl float<xmm0> pow(float base<xmm0>, float exponent<xmm1>); // plain RET; cvtss2sd xmm0/xmm1 -> libm pow, cvtsd2ss xmm0; caller 00439393 sets xmm0/xmm1 then subss xmm0 after
|
|
static cleanup bool Capsule::Collide(Capsule* a<ecx>, Capsule* b<edx>, Vector* outHit); // plain RET (x3); ESI=ECX, EDI=EDX capsules at entry, [ebp+8] out hit; callers 0041add3/0041ae33 mov ecx,[..]; lea edx,local; push eax; add esp,4; test al,al
|
|
__thiscall void Entity_NPC::SpawnControlTarget(int inputMode, float rotation<xmm2>); // RET 0x4; movaps xmm0,xmm2 at entry -> target effect +0x474 _rotation; [ebp+8] 0=movement input/1=aim input, -> effect +0x428; callers 004fcd59 movss xmm2,[-1.0]; push 0; mov ecx,npc
|
|
static cleanup void png_crc_read(void* pngPtr<ecx>, uint8_t* buffer<edx>, unsigned int length); // plain RET; ESI=ECX png_ptr, EDI=EDX buf, [ebp+8] length -> read_data_fn(png,buf,len) and crc32; caller 00a96eef push ecx; mov ecx,esi; add esp,4
|
|
__thiscall void std::deque::push_back(Vector* value); // RET 0x4; 8-byte element copied from [ebp+8], 2 per block; callers 0046ab9c push &npc->_pos / &_velocity, ecx=npc+0xc04
|
|
static cleanup Vector* Isaac::GetRandomPickupVelocity(Vector* outVelocity<ecx>, Vector* position<edx>, unsigned int pickupVelType, RNG* rng); // plain RET; EDI=ECX out zeroed/written, EDX saved, [ebp+8] type, [ebp+0xc] rng (null -> Random()); mov eax,edi; callers 00591739 push 0; push 0; mov edx,ebx; lea ecx,local; add esp,8
|
|
static cleanup Vector* Vector::operator_mul(Vector* outResult<ecx>, float* scalar<edx>, Vector* vector); // plain RET; [edx] scalar times [ebp+8] x/y -> [ecx], mov eax,ecx; caller 00653acf push vec; lea ecx,local; add esp,4
|
|
__thiscall char* std::string::c_str(); // plain RET, no stack; cap [ecx+0x14] < 0x10 -> eax=ecx (SSO) else eax=[ecx]
|
|
static cleanup unsigned int std::string::find(char* haystack<ecx>, unsigned int haystackSize<edx>, unsigned int start, char* needle, unsigned int needleSize); // plain RET; ECX data, EDX size compared to [ebp+0x10] needle size, [ebp+8] start, [ebp+0xc] needle -> memchr; caller 00557b9a mov ecx,data; mov edx,[ecx+0x10]; push len; push needle; push 0; add esp,0xc
|
|
__thiscall bool Entity::IsPlayerInRadius(Vector* position, float radius<xmm2>, int unused1, int unused2); // RET 0xc; only [ebp+8] read, movaps xmm1,xmm2 at entry (radius squared vs player dist); callers 004dc2a3/004dcf79 movss xmm2,const; sub esp,8 (never written); push &pos; mov ecx,npc; test al,al
|
|
__thiscall float<xmm0> Room::time_scale_update(); // plain RET, no stack; result built in xmm0 (cvtdq2ps/mulss/addss) at exit; caller 00747dbb movss [manager+0x2a2d4],xmm0 right after
|
|
__thiscall void std::string::push_back(char c); // RET 0x4; ESI=ECX string, byte [ebp+8] stored at size then NUL
|
|
__stdcall float<xmm0> InputManager::GetActionValue(int action, int controllerIndex, Entity* entity, int unused); // RET 0x10; [ebp+8] action, [ebp+0xc] -1 = all devices, [ebp+0x10] entity, [ebp+0x14] never read; callee loads ecx=0xc57b18 itself; result movss xmm0 at exit; callers 006d82f9 push ecx(slot); push npc; push idx; push 4; addss/subss xmm0 after (REPENTOGON's 3-arg __thiscall is the old exe)
|
|
__thiscall Entity* Entity::GetLastSpawner(); // plain RET, no stack; walks [ecx+0x3c8] chain, mov eax,ecx
|
|
__thiscall Entity* Entity_Familiar::get_incubus_umbilical_whip(); // plain RET, no stack; ESI=ECX, dyncast Weapon_UmbilicalWhip, returns its entity (type 3) or 0 in eax
|
|
__cdecl void BeamRenderer::End(); // plain RET; no stack args, ECX not read (callee loads [0x00c78ef0] itself); caller 00435572 mov ecx,0xc78ef0 is dead
|
|
__cdecl int oc_huff_token_decode(void* packBuf, short* tree); // plain RET; [ebp+8] pack buffer (ptr/stop/window/avail), [ebp+0xc] tree; no ECX/EDX reads; callers 00adbf87 push tree; push ebx
|
|
__thiscall void KAGE::Network::Multiplayer::ServiceBase::~ServiceBase(); // plain RET, no stack args; ECX this: vftable store, clears list/mutexes
|
|
__thiscall int GraphicsWindow::get_framebuffer_width(); // plain RET, no stack; [ecx+0xbc] glfw window, returns width in eax
|
|
__thiscall Vector* Vector::Mul(Vector* outResult, Vector* other); // RET 0x8; out [ebp+8] = [ebp+0xc] * [ecx] componentwise, eax = out; caller 006c9489 push other; push &local; lea ecx,[esi+0x10]; push eax after
|
|
__thiscall Entity_Tear* Weapon::fire_tear(Vector* position, Vector* velocity, unsigned int flags, int unused, float damageMultiplier, float positionStep); // RET 0x18; [ebp+8] pos, [ebp+0xc] vel (x/y pushed to FireTear by value), [ebp+0x10] flags, [ebp+0x14] never read, movss [ebp+0x18] damage mult, [ebp+0x1c] pos += vel*it; caller 009f7d47 sub esp,0xc; [esp+4]=1.0, [esp+8]=0; push 0x47; push &vel; push &pos; mov ecx,weapon
|
|
__thiscall void Menu_Options::~Menu_Options(); // plain RET, no stack args; EDI=ECX this, destroys ANM2 +0x24/+0x138, strings, vector +0x27c
|
|
__cdecl bool input_poll_active_device(); // plain RET, no stack/ECX/EDX reads (loads ecx=0xc57b2c/0xc57b18 itself); mov al,1 / xor al,al; caller 006faab3 bare call
|
|
__thiscall bool NetplayManager::is_user_in_player_list(uint64_t userId); // RET 0x8; ECX = player pointer vector (Manager+0x4b3d8), [ebp+8]/[ebp+0xc] lo/hi compared to each player's profile id (+0x374 -> +8/+0xc); returns al
|
|
__thiscall KColor* Room::GetFloorColorAt(KColor* outColor, Vector* position, float radius<xmm3>); // RET 0x8 (EBX frame); xmm3 stored at entry, [ebx+8] out -> KColor::SetFromARGB(-1), [ebx+0xc] pos; mov eax,esi(=out) at exit
|
|
__fastcall int is_achievement_79_unlocked(Entity_Player* player); // plain RET, no stack; ESI=ECX player, reads _extraCollectibleCounts (+0x1fd4)[0x8f] via movzx eax; callers 00764d9e mov ecx,player; movd xmm0,eax (count, not a bool)
|
|
__thiscall bool Entity_Player::GetMouseAimTarget(Vector* outTarget, bool isSkipNetCursor); // RET 0x8; [ebp+8] out written, byte [ebp+0xc]==0 uses NetInputDevice cursor (+0x398); mov al,bl at exit; caller 0066d1a1 push 0; push &local; mov ecx,player
|
|
__thiscall bool Level::IsAscent(); // plain RET, no stack; [ecx] stage-1 < 6 and game state flag 0x10000 -> mov al,1 / xor al,al
|
|
static cleanup GridEntity* Isaac::CreateGridEntity(int type<ecx>, unsigned int gridIndex<edx>); // plain RET, no stack; switch on ECX, mov ebx,edx at entry; caller 005b108c mov edx,idx; mov ecx,7; eax = new grid entity
|
|
static cleanup bool Entity_Pickup::CanRerollVariant(int variant<ecx>, int subType<edx>); // plain RET, no stack; mov ebx,ecx / mov edi,edx, variant 100 + subtype checks; mov al,1 / xor al,al; caller 006e1941 mov ecx,0x64; mov edx,subtype; test al,al
|
|
__thiscall bool Entity::push_apart_circle(Entity* other<edx>); // plain RET, no stack (EBX frame); mov esi,ecx / mov edi,edx at entry; mov al,1 / xor al,al; callers 0041a5e5 mov edx,edi; mov ecx,esi
|
|
__thiscall void* Color::copy_constructor_ext(void* other); // RET 0x4; EDI=ECX dest, ESI=[ebp+8] src: 0x2c ColorMod + 3 std::string (+0x2c/+0x44/+0x5c) + ints +0x74/+0x78 (0x7c-byte boss color entry, EntityConfig::load_boss_colors); mov eax,edi
|
|
__thiscall void* Entity_Familiar::get_item_config_entry(); // no RET of its own: tail JMP to ItemConfig::get_wisp_entry (fastcall, RET 0) with ecx=_subtype/0x19, edx=+0xd7c/0; eax passes through
|
|
static cleanup Entity_NPC* Entity_NPC::ThrowLeech(Vector* position<ecx>, Entity* spawner<edx>, float yPositionOffset<xmm2>, Vector* targetPosition, bool isBig); // plain RET; mov edi,ecx / mov esi,edx / movss [esp+0x14],xmm2 at entry, [ebp+8] target -> _targetPosition, byte [ebp+0xc] -> SpawnEx subtype; callers 0045170a movss xmm2,c; push 1; push ⌖ mov edx,edi; mov ecx,esi; add esp,8
|
|
__fastcall void set_PlaybackSpeed(ANM2* sprite, float speed); // RET 0x4; movss xmm0,[ebp+8] -> [ecx+0x104] ANM2::_playbackSpeed (Lua Sprite.PlaybackSpeed setter); float goes to the stack under fastcall
|
|
__thiscall void SharedPtrPair::~SharedPtrPair(); // plain RET, no stack args; ESI=ECX this, resets SmartPointers +0/+8, releases image refs +4/+0xc
|
|
__cdecl void mi_thread_init(); // plain RET, no stack args; ECX/EDX not read (ECX loaded from _tls_index first)
|
|
__fastcall std_string* int_to_string(std_string* outString, int value); // plain RET, no stack; EDI=ECX out string, ESI=EDX value -> sprintf "%d"; mov eax,edi at exit; the other int_to_string 00840540 has the same ECX out / EDX value / mov eax,esi / plain RET
|
|
__thiscall void KAGE::Memory::HeapBase::~HeapBase(); // plain RET, no stack args; ECX this: vftable store, frees 0x1098-byte pages, destroys Mutex +0x10
|
|
__stdcall bool multiplayer_send_message(void* recipient, void* message, void* messageRefCount); // RET 0xc; ECX not read; [ebp+8] object (vtable +0x14 call, ebx), [ebp+0xc] message ptr null -> xor bl,bl, [ebp+0x10] refcount (by-value shared_ptr); mov al,bl; caller 00909299 sub esp,8 / copy-construct at esp; push esi
|
|
__stdcall void* KAGE_Graphics::create_image(void* outImage, int width, int height, int format, char* name); // RET 0x14; ECX not read (first ECX is lea local), [ebp+0x14] format switch; mov eax,esi(out) at exit; caller 00424bc6 push "Ellipse"; push 4; push h; push w; push &out; push eax after
|
|
__thiscall void MenuDialog::~MenuDialog(); // plain RET, no stack args; ECX this: resets ANM2 +4/+0x118, erases map +0x244
|
|
__thiscall void PopupWindow::hide(); // plain RET, no stack args; EDI=ECX, [edi] shown flag, [edi+4] mode picks sprite +0x60/+0x174
|
|
__thiscall void Entity_Knife::SpinAttack(short remainingSpins, int startFrame); // RET 0x8; EDI=ECX knife, word [ebp+8] -> this+0x4f0, [ebp+0xc] > 0 -> SetFrameFloat; callers 009623c2 dec eax; mov [edi+0x4f0],ax; push 2; cwde; push eax / 009623f4 push 0
|
|
__thiscall Vector* Camera::ClampedToRoom(Vector* outPosition, Vector position); // RET 0xc; [ebp+8] out (mov eax,[ebp+8] then writes x/y), [ebp+0xc]/[ebp+0x10] position by value; callers 009429eb push y; push x; push &out; mov ecx,[eax] after
|
|
__thiscall void LobbyList::clear(); // plain RET, no stack args; EDI=ECX map: string::assign at +0xc, vector clears, _Erase_tree
|
|
__thiscall bool LuaRef::equals(void* otherState, int otherRef); // RET 0x8; ESI=ECX self (L, ref); [ebp+8]/[ebp+0xc] by-value LuaRef pushed then luaL_unref'd by callee; lua_compare==1 -> al; callers 008712aa mov [edi+4],ref; mov ecx,self; test al,al
|
|
__cdecl int date_to_yyyymmdd(uint8_t flags, int unknown, int64_t time, int tmSec, int tmMin, int tmHour, int tmMday, int tmMon, int tmYear, int tmWday, int tmYday, int tmIsdst); // plain RET; 0x38-byte struct by value: byte [ebp+8] flags (&2 _mkgmtime64(&[ebp+0x18]), &3 _gmtime64(&[ebp+0x10])), tm at [ebp+0x18]; callers 00427b7a sub esp,0x38 / movups copy / add esp,0x38
|
|
__thiscall bool Level::UpdateBackwardsPathStages(); // plain RET (x3), no stack; EBX=ECX level; setnz al / mov al,1 / xor al,al; caller 005c72d0 mov ecx,GetLevel()
|
|
__stdcall float<xmm0> get_tear_trinket_multiplier(Entity_Player* player<ecx>, int tearVariant); // RET 0x4; [ebp+8] switch (10..0x2e) -> GetTrinketMultiplier(ecx, trinket), max(1,n) cvtdq2ps xmm0, default movss xmm0,1.0; caller 0066a3b4 push 0x1e; mov ecx,player; mulss xmm0 after
|
|
__thiscall void Entity_Player::release_weapons_and_effects(bool isRemoveEntities); // RET 0x4; ESI=ECX player, destroys weapons +0x13dc..+0x13ec, byte [ebp+8] -> Remove (vtable+0x28) on refs +0x1420..
|
|
__thiscall bool Level::CanSpawnDevilRoom(); // plain RET, no stack; [ecx] stage; xor al,al / mov al,1
|
|
__thiscall std_string* ItemConfig_Item::get_localized_description(std_string* outDescription, int unused); // RET 0x8; [ebp+8] out string (returned in eax), [ebp+0xc] never read; callers 00847fbb push ecx(slot); push &local; mov ecx,item; mov edi,eax
|
|
__thiscall void GridEntity::~GridEntity(); // plain RET, no stack args; ECX this: vftable store, destroys _sprite +0x40
|
|
static cleanup bool ItemConfig::IsQuestItem(int collectibleId<ecx>); // plain RET, no stack; push ecx at entry becomes GetCollectible's stack arg before ecx is reloaded with &itemConfig; tags & 0x8000 -> mov al,1
|
|
__thiscall void* Entity::GetDebugShape(bool isUnknown); // RET 0x4; edx=[ecx+0x20] _index, pushes [ebp+8] + index -> DebugRenderer::Get (REPENTOGON Shape* Get(int, bool)), eax passes through
|
|
static cleanup unsigned int checksum_stream(void* stream<edx>, int offset, int trailingSize); // plain RET; mov edi,edx at entry (vtable +4 size/+0xc seek/+0x14 read), ECX not read, [ebp+8] seek offset, [ebp+0xc] excluded tail; caller 0041d717 push 4; push 0x10; mov edx,esi; add esp,8
|
|
static cleanup Entity* spawn_dip_at(int subType<ecx>, Vector* position<edx>, Entity* spawner, Vector* targetPosition); // plain RET; mov ebx,ecx / mov edi,edx, [ebp+0xc] target (zero -> random free spot), forwards ecx/edx/[ebp+8] to Entity_Familiar::ThrowDip, eax = dip; caller 00571eec push g_vectorZero; push ent; mov edx,esi; mov ecx,edi; add esp,8
|
|
static cleanup Entity* spawn_small_maggot_jump(Vector* position<ecx>, float yPositionOffset<xmm2>, Vector* targetPosition); // plain RET; mov edi,ecx / movss [ebp-0x10],xmm2 at entry -> _posOffset.y, [ebp+8] target; callers 004de904 movss xmm2,..; lea ecx,pos; push target; add esp,4
|
|
__thiscall void Entity_Laser::SetMaxDistance(float maxDistance); // RET 0x4; movss [ebp+8] -> this+0x4d0
|
|
__thiscall void DeathmatchManager::set_type(int type); // RET 0x4; ECX this, releases this+0xc, switch on [ebp+8] allocates DeathmatchType* object
|
|
__thiscall uint64_t Entity_Projectile::ProjectileFlags(); // plain RET, no stack; eax=[ecx+0x438], edx=[ecx+0x43c]
|
|
__cdecl void mi_segment_span_free(void* segment, int sliceIndex, unsigned int sliceCount, void* tld); // plain RET; ECX/EDX not read, [ebp+8..0x14] (mimalloc segment.c order); callers 00aec271 push eax; push edi; push ebx (+1 earlier); add esp,0x10
|
|
__fastcall void vorbis_dsp_clear(void* dspState); // plain RET, no stack; mov ebx,ecx null-checked at entry, EDX first written (xor edx,edx) much later
|
|
__thiscall void NetworkManager::receive_packet(uint64_t* sender, void* buffer, int size); // RET 0xc; ECX this (mutex +0x10, peer map +8), [ebp+8] -> [0]/[1] u64 compare; caller 00a5ca91 push size; push buf; push &sender; mov ecx,manager
|
|
__thiscall unsigned int KAGE::Filesys::BufferedStream::read(void* buffer, unsigned int size, unsigned int count); // RET 0xc; ESI=ECX stream, edi=[ebp+0xc]*[ebp+0x10], 0 -> xor eax,eax; returns bytes read
|
|
__thiscall void SoundInstance::assign(void* source); // RET 0x4; ESI=ECX, resets then binds [ebp+8] via FUN_008f2c90, pushes loop/volume/pan/pitch to voice vfuncs
|
|
__stdcall void win32_opendir(char* path, int flags); // RET 0x8; ECX not read (first ECX write at 00a1732e), [ebp+8] path null/"" -> "./", [ebp+0xc] flags; no eax result
|
|
__thiscall bool Weapon::is_c_section_anim_finished(int unused); // RET 0x4; [ebp+8] never read; callers 009fb5a5/009ffd8b push ecx(slot); mov ecx,weapon; test al,al
|
|
__thiscall void RichText::~RichText(); // plain RET, no stack args; ECX this: Font::Unload(+0x18), deletes icon ANM2 +0x64
|
|
__thiscall bool RoomGridPath::can_step(int fromIndex, int toIndex); // RET 0x8; ECX this ([ecx] -> width at +0xc, cell bytes at ecx+4+idx), [ebp+8] from (<0x1c0), [ebp+0xc] to; xor al,al / mov al,1
|
|
__cdecl int save_slot_get_status(); // plain RET (x3), no stack; ECX loaded from g_manager first, returns 0/1/2 in eax
|
|
__thiscall int PlayerManager::GetNumCoopPlayers(); // plain RET, no stack; [ecx]/[ecx+4] player vector, count in eax
|
|
__thiscall void PlayerManager::enter_level(); // plain RET, no stack args; mov edi,ecx at entry, this[0x33] player
|
|
__thiscall void* LevelGenerator::get_all_rooms(void* outRooms); // RET 0x4; EBX=ECX generator, [ebp+8] std::vector<LevelGenerator_Room*> out zeroed/filled, mov eax,edi(=out)
|
|
__stdcall void Game::ShowFortuneText(RNG* rng<ecx>, char* category); // RET 0x4; ECX saved at entry is Game+0x1ba98 _fortuneRNG (not a Game*), [ebp+8] string category; caller 005b1871 push "Fortune_General"; add ecx,0x1ba98
|
|
__thiscall void Manager::unload_state(); // no RET of its own: ends in jmp TextureCache::Purge (0040e910); ESI=ECX manager, [esi+8] state 1/2; no stack args
|
|
__fastcall Vector* backdrop_detail_to_world_pos(Vector* outPosition, Vector* position); // plain RET, no stack; [edx] x/y in, [ecx] written, mov eax,ecx
|
|
__thiscall char* PersistentGameData::get_save_file_name(); // plain RET, no stack; mov eax,ecx then path at +8 (fallback +0x20), eax = heap copy from 00a0f4e0
|
|
__cdecl bool shared_save_write(); // plain RET (EBX frame), no stack args; ECX/EDX not read before write; mov al,1 / xor al,al
|
|
__stdcall bool online_check_game_version(void* propertiesVtable, void* properties, void* propertiesRefCount); // RET 0xc; ECX not read; 12-byte smart-pointer object by value: caller 008e12a3 sub esp,0xc; [esp]=vftable 0xb9c1bc, [esp+4] ptr filled by 00a288a0; callee uses [ebp+0xc] (vtable +0x2c "game_version") and rewrites [ebp+8] when destroying it; mov al,bl
|
|
__thiscall void render_item_info_text(void* text, Vector* position, int width, unsigned int lineStart, unsigned int lineEnd); // RET 0x14 (EBX frame); mov edi,ecx at entry (this+0x184 used), [ebx+8] text, [ebx+0xc] pos, [ebx+0x10] -> rich_text_render width, [ebx+0x14]/[ebx+0x18] line bounds; callers 008d550e push 0x82; push &pos; push [ebx+0x38]
|
|
__thiscall void HUD_Message::set_text_line(uint16_t* text, int lineIndex); // RET 0x8; [ebp+0xc] indexes ECX[lineIndex], [ebp+8] utf-16 text copied
|
|
__thiscall bool RoomConfig::LoadCursesXml(char* path, bool isAppend); // RET 0x8; byte [ebp+0xc] != 0 skips clearing the curse list +0x1c54; xor al,al / mov al,1; callers 006f3d7d push 0; push path; lea ecx,[edi+0x18910]
|
|
__thiscall bool Room::TrySpawnBossRushDoor(bool isIgnoreTime, bool isForce); // RET 0x8; byte [ebp+0xc]==0 runs the checks, movzx [ebp+8] or'd with item 0x226 check; xor al,al on fail
|
|
__thiscall void PathFinder::Init(Entity* owner); // RET 0x4; EDI=ECX pathfinder, [ebp+8] -> [this] owner, then Reset
|
|
__thiscall Entity* Entity_Player::spawn_forgotten_body(); // plain RET (x3), no stack; ESI=ECX player, eax = _forgottenBody (+0x1d9c) / 0 / new body (edi)
|
|
__thiscall void Entity_Player::DonateLuck(int luck); // RET 0x4; [ebp+8] added to _donateLuck +0x1538, cache flag 0x400, EvaluateItems
|
|
__thiscall int Entity_Player::GetMaxTrinkets(); // plain RET, no stack; ESI=ECX, HasCollectible 0x8b/0x1ca -> eax 1 or 2
|
|
__thiscall Entity_Laser* Entity_Player::SpawnMawOfVoid(int timeout); // RET 0x4; EDI=ECX player, [ebp+8] -> laser +0x458 timeout; eax = dyncast Entity_Laser of the 7.1 spawn (mov eax,ebx)
|
|
__thiscall void Entity_Player::SyncConsumables(Entity_Player* target, unsigned int mask); // RET 0x8; EDI=ECX source, ESI=[ebp+8] target written, EBX=[ebp+0xc] bits 1/2/4.. coins/keys/bombs
|
|
__thiscall void Level::ShowName(bool isSticky); // RET 0x4; ECX level -> GetName/GetCurseName, byte [ebp+8] forwarded to the HUD stage-name call (Lua Level:ShowName(sticky))
|
|
__fastcall void grid_mark_neighbors_dirty(int gridIndex); // plain RET, no stack; mov eax,ecx; cdq; idiv width at entry (EDX overwritten before any read)
|
|
__cdecl void* operator_new(unsigned int size); // plain RET; only [ebp+8] read, forwards to tracked_alloc(mode 0) and leaves its EAX; callers push size, add esp,4
|
|
static cleanup void* tracked_alloc(uint8_t mode<ecx>, void* ptr<edx>, uint64_t size); // plain RET; movzx eax,cl switch 0 alloc/1 free/2 merge, EDX = block to free, [ebp+8..0xc] qword size; callers mov cl,1; push 0; push 0; add esp,8
|
|
__thiscall Vector* Room::GetClampedPositionImpl(Vector* outPosition, Vector* position, float marginTop, float marginRight, float marginBottom, float marginLeft<xmm3>); // RET 0x14; movaps xmm0,xmm3 at entry; [ebp+8] out returned, [ebp+0xc] pos; x clamped to [tl.x+xmm3, br.x-[ebp+0x14]], y to [tl.y+[ebp+0x10], br.y-[ebp+0x18]]; caller 004360a0 copies xmm3 to the 3 stack floats and keeps it in xmm3
|
|
__cdecl int sprintf(char* buffer, char* format); // plain RET, variadic (va_list = lea [ebp+0x10]); ECX pushed as dummy, not read; callers push args, fmt, buf; add esp; EAX from vsprintf kept
|
|
__thiscall bool Entity_NPC::IsTargetInAttackRange(float range<xmm1>, bool isPredictVelocity, int frameInterval); // RET 0x8; movss [ebp-0xc],xmm1 at entry; byte [ebp+8] adds target velocity*5, [ebp+0xc] passed to IsFrame; callers 00456ea1 movss xmm1,c; push 0; push 0 / 0046b770 push 7; push 0
|
|
__stdcall void* render_quad_set_uniform_color(void* outQuad<ecx>, float left<xmm1>, float top<xmm2>, float right<xmm3>, float bottom, KColor* color); // RET 0x8; mov edx,ecx, xmm1..3 stored as 4 corners with [ebp+8], 5-dword KColor [ebp+0xc] copied 4x at +0x20, mov eax,edx; caller 00409fc4 computes xmm1/xmm2 from a Vector
|
|
__cdecl float<xmm0> normalize_angle_degrees(float angle<xmm0>); // plain RET, no stack; movaps xmm2,xmm0 at entry, result movaps xmm0,xmm2; caller 0044402b addss xmm0 then call, stores xmm0
|
|
__cdecl void* std::deque::back(); // plain RET; no ECX/EDX/stack read, indexes the global render-target deque (0xc79784..), returns element address in EAX
|
|
__stdcall void HUD::mark_all_slots_dirty(HUD* hud<ecx>, bool isRebuildIcons, bool isClearTextCache); // RET 0x8; ECX = Game+0x1da04 _hud (caller 0042a816 lea ecx,[g_game+0x1da04]; push 1; push 1); byte [ebp+0xc] -> text_image_cache_clear, [ebp+8] -> HUD::update_player_hud_slots -> rebuild_player_item_icons(.., bool)
|
|
static cleanup void spawn_gibs(Vector* position<ecx>, int amount<edx>, float spread<xmm3>, uint32_t* gibFlags, Entity* spawner, ColorMod* color, Vector* velocity, float scale); // plain RET; ECX/EDX/xmm3 spilled at entry, test edx,edx early-out; caller 00447be3 movss xmm3,90.0; lea ecx,[npc+0x33c]; mov edx,0xa; push 1.0f; push &g_vectorZero; push color; push npc; push config+0x60; add esp,0x14
|
|
__thiscall void std_set_uint_copy(void* other, int copyTag); // RET 0x8; ECX = destination tree, [ebp+8] source tree, [ebp+0xc] forwarded to node copier 00709770; callers push [ebp+8]; push &src; lea ecx,[dst]
|
|
__thiscall void* std::string::concat_move(int unused, void* left, void* right); // RET 0xc; [ebp+8] never read; ECX = result string zeroed first, [ebp+0xc]/[ebp+0x10] operands, mov eax,ebx(=ECX); caller 00430e94 push &b; push &a; push dummy
|
|
__thiscall Entity_Effect* Entity::MakeBloodPoof(Vector* position, ColorMod* color, float scale<xmm2>); // RET 0x8; movss [esp+0x10],xmm2 at entry -> effect _sprite._scale x/y; [ebp+8] pos to SpawnEx, [ebp+0xc] color; caller 0046dd16 movss xmm2,c; push &color; push &npc->_pos; mov ecx,npc (= REPENTOGON decl)
|
|
__cdecl float<xmm0> Math::timescale_factor(float acceleration<xmm0>, float timeScale<xmm1>); // plain RET, no stack/ECX; movaps xmm3,xmm1 / xmm2,xmm0 at entry, a/(a+t-a*t) left in xmm0; caller 004327bc movss xmm1,[npc+0x39c]; call; movaps xmm1,xmm0
|
|
static cleanup unsigned int crc32(unsigned int crc<ecx>, uint8_t* buffer<edx>, unsigned int length); // plain RET; test edx,edx; not ecx; [ebp+8] length; callers mov ecx,[png+0x108]; mov edx,buf; push len; call; add esp,4; eax stored back
|
|
static cleanup Entity* spawn_small_maggot(Vector* position<ecx>, float height<xmm2>, Vector* velocity, float heightVelocity); // plain RET (004d8d07); ECX spawn pos for Spawn(0x355), xmm2 spilled at entry -> _posOffset.y, [ebp+8] vector -> velocity/target, [ebp+0xc] float -> V1; callers 00449686 push -8.0f; push &vel; lea ecx,[pos]; xorps xmm2; add esp,8; eax used
|
|
__thiscall void push_shape_points(Capsule* capsule); // RET 0x4; ECX = DebugRenderer Shape (callers mov ecx,eax after Entity::GetDebugShape), [ebp+8] capsule: Vectors at +0 and +0x18 pushed into vector +0x20, radius +0x20/+0x24; looks like REPENTOGON Shape::Capsula
|
|
__fastcall int scale_for_hard_difficulty(int value); // plain RET, only ECX read: eax = g_game+0x26614 (difficulty) >= 2 ? ecx*8 : ecx; callers mov ecx,esi(2); call; eax used. Not a nullsub
|
|
__thiscall void std::vector::clear(bool isDeallocate); // RET 0x4; byte [ebp+8]==0 sets end=begin, else frees the buffer; callers push 0; lea ecx,[obj+0x1e40]
|
|
__thiscall float<xmm0> Room::GetTimeScale(Vector* unusedPosition, Entity* entity); // RET 0x8; [ebp+8] never read, [ebp+0xc] entity (type==1 check); callers push ent; push &ent->_pos; mov ecx,room; then movss [ent+0x39c],xmm0 (= REPENTOGON decl)
|
|
__thiscall void EntityConfig::PreloadResources(EntityConfig_Entity* entity); // RET 0x4; [ebp+8] null/+0xb0 checked, anm2 path +0x74 preloaded, sound ids +0x98..+0x9c; callers push eax (EntityConfig::GetEntity result); lea ecx,[manager+0x2a670]
|
|
__thiscall Entity* Entity_Familiar::get_orbit_parent(); // plain RET, no stack args; ECX familiar (variant 0x2b/0xce -> _parent +0x3bc), returns entity in EAX; callers mov ecx,familiar; call; mov esi,eax
|
|
__stdcall void BeamRenderer::Add(Vector* point, ColorMod* color, float spritesheetCoordinate<xmm2>, float width<xmm3>); // RET 0x8 (REPENTOGON's plain 'static' = cdecl does not fit); movaps xmm4,xmm2 / xmm5,xmm3 at entry, ECX overwritten; caller 0043554d movss xmm3; movss xmm2,1.0; push &color; push &point
|
|
__cdecl void* alloc_small(void* cinfo, int poolId, unsigned int sizeOfObject); // plain RET; [ebp+8] cinfo, [ebp+0xc] pool, [ebp+0x10] size; callers push size; push pool; push cinfo; add esp,0xc
|
|
static cleanup void image_premultiply_alpha(uint8_t* pixels<ecx>, int width<edx>, int height); // plain RET; imul edx,[ebp+8] = pixel count, ECX RGBA8 buffer; caller 00a64f29 push [img+0x1c]; mov edx,[img+0x18]; mov ecx,pixels; add esp,4
|
|
__thiscall void KAGE::Graphics::ShaderBase::free_uniforms(); // plain RET, no stack args; mov ebx,ecx at entry, frees +0xc/+0x10 and +0x34..+0x38; callers lea ecx,[obj+0x18]; call
|
|
__thiscall Vector* Vector::operator__(Vector* other); // RET 0x4; this -= [ebp+8], mov eax,ecx; callers push eax; lea ecx,[ent+0x360]
|
|
__thiscall float<xmm0> Weapon::get_damage(); // plain RET, no stack args; result in xmm0 (movss xmm0,[player+0x1470]; ret); caller 009f6800 call; then pushes xmm0 as the vfunc +0x40 float arg
|
|
__thiscall void HUD::FlashChargeBar(Entity_Player* player, int activeSlot); // RET 0x8; cmp [ecx],[ebp+8] over 8 player HUDs (0x6dc), [ebp+0xc] slot <4; caller 0054d0e7 push slot; push player; lea ecx,[g_game+0x1da04]
|
|
__thiscall void BackdropConfig::~BackdropConfig(); // no RET of its own: tail jmp 0040d040 (string dtor, plain RET) after 12 string dtors on ECX+0x4..+0x120; no stack reads; callers lea ecx,[local]; call
|
|
__thiscall void Menu_SpecialSeeds::Reset(); // plain RET, no stack args (ebx+4 is the aligned-frame return address); mov esi,ecx; callers lea ecx,[g_menuManager+0x251c]; call
|
|
__thiscall bool Room::DamageGridWithSource(int gridIndex, int damage, EntityRef* source); // RET 0xc; [ebp+8] < 0x1c0 indexes _gridEntities, [ebp+0xc]/[ebp+0x10] forwarded to grid vfunc +0x10, xor al,al else; caller 0043bf16 push &ref; push 1; push idx (Lua DamageGridWithSource(index, damage, source))
|
|
__thiscall void Entity_Player::AddPoopMana(int amount); // RET 0x4; [ebp+8] added to _poopMana +0x1f54 and clamped; caller 005c6f7f push -1; mov ecx,player
|
|
__stdcall void* string_from_direction(void* outString, Vector direction, void* leftString, void* upString, void* rightString, void* downString); // RET 0x1c; ECX overwritten by mov ecx,[ebp+8] (out, returned in EAX), Vector by value at [ebp+0xc/0x10], 4 std::string* copied; caller 00773203 push 4 &string; push [v+4]; push [v]; push &out
|
|
__thiscall int Level::GetNeighborRoomIdx(int roomIdx, int doorSlot); // RET 0x8; [ebp+8] -> GetRoomByIdx(idx,-1), [ebp+0xc] door slot; caller 0073e8f0 push slot; push idx; mov ecx,level; eax tested for -1
|
|
__stdcall Entity* spawn_chain_lightning(Vector* position, BitSet128 tearFlags, Entity* spawner, float damage<xmm2>); // RET 0x18; ECX overwritten before use, xmm2 spilled at entry (scales the effect's vfunc +0x40); [ebp+8] pos to SpawnEx, 16-byte flags copied to the effect, [ebp+0x1c] spawner chain walk; caller 0064969b push [tear+0x410]; sub esp,0x10; movups flags; push &tear->_pos; movss xmm2,[..+0x157c]*k; eax used
|
|
__thiscall void Entity_Pickup::UpdateLootPreview(); // plain RET, no stack args; mov edi,ecx; caller 005bdbdf mov ecx,pickup; call
|
|
__thiscall void Entity::push_apart_capsule(Entity* other<edx>); // plain RET, no stack; mov esi,edx / mov edi,ecx at entry (swapped by type); caller 0041a5f0 mov edx,edi; mov ecx,esi; call; AL not used
|
|
__thiscall void EntityConfig_Entity::~EntityConfig_Entity(); // no RET of its own: tail jmp 0040d040 after member dtors on ECX+0xc..+0x140; no stack reads; caller 0069d5b2 mov ecx,esi; call (0x168 stride)
|
|
__thiscall void Entity_Familiar::paschal_candle_sync_effects(); // plain RET, no stack args; mov edi,ecx (familiar, owner +0x410); caller 0062b214 mov ecx,edi; call
|
|
__thiscall bool Entity_Player::AreControlsEnabled(); // plain RET, no stack; byte [ecx+0x410] && [ecx+0x414]<=0 -> mov al,1; caller 00553161 mov ecx,player; test al,al
|
|
__thiscall void Entity_Effect::set_state(int state); // RET 0x4; [ebp+8] -> [ecx+0x450]; caller 005b8503 push 2; mov ecx,effect
|
|
__thiscall void std::map::destroy_subtree(void* allocator, void* node); // RET 0x8; recursive: [ebp+0xc] node (+0xd isNil, +8 right child), [ebp+8] passed through unchanged; caller 00417dd5 push [map+4] root; push map; mov ecx,map
|
|
__cdecl int64_t th_granule_frame(void* decoder, int64_t granulePosition); // plain RET; [ebp+8] dec (info +0x3c shift), qword [ebp+0xc..0x10] granpos, EDX:EAX result; caller 00a8cd87 push edx; push eax; push [esi+0x404]; add esp,0xc
|
|
__thiscall unsigned int stb_vorbis::get_bits(int bitCount<edx>); // plain RET, no stack; mov esi,ecx / mov ebx,edx at entry; recursive call mov edx,0x18; mov ecx,esi; result in EAX
|
|
__thiscall void* KAGE::Graphics::GraphicsBufferObject::GraphicsBufferObject(); // plain RET, no stack args; mov edi,ecx, mov eax,edi at exit, stores vftable 0xba046c; caller 00a12fc0 mov ecx,eax (operator_new 0x10); call
|
|
__thiscall void StringTable::clear(); // plain RET, no stack args (ebx+4 is frame); walks map at ECX+0xc; callers lea ecx,[manager+0x4a920]; call
|
|
static cleanup Weapon* Isaac::CreateWeapon(int weaponType<ecx>, Entity* owner<edx>); // plain RET, no stack; mov edi,ecx (factory table 0xc73630 index) / mov ebx,edx; caller 00431f5b mov edx,player; mov ecx,[..+0x30]; eax -> +0xdc4 (REPENTOGON decl with WeaponType -> int)
|
|
__thiscall void Popup::free_line_buffers(); // plain RET, no stack args; mov edi,ecx, vector +0x60..+0x64; caller 009c27eb mov ebx,ecx; call
|
|
__thiscall void LevelGenerator::update_dead_end_lists(); // plain RET, no stack args; mov esi,ecx; caller 00750284 lea ecx,[local generator]; call
|
|
__thiscall Entity* Entity_Knife::GetRootParent(); // plain RET, no stack; mov eax,ecx then walks +0x3bc while type 8, result in EAX; caller 00961641 call; movss xmm0,[eax+0x448]
|
|
__thiscall void TemporaryEffects::ClearEffects(bool isClearPersistent); // RET 0x4; byte [ebp+8] != 0 also removes items with persistentEffect; caller 005c8911 push 0; mov ecx,effects
|
|
__stdcall int* map_u64_int_subscript(uint64_t* key); // RET 0x4; ECX never read (global g_onlineVoteMap), [ebp+8] key ptr (8 bytes), returns &node->value; caller 0091c576 push &qword; call; mov [eax],ecx
|
|
__thiscall int std_set_int_erase_key(int* key); // RET 0x4; ECX = set, [ebp+8] -> key; caller 0085e193 lea eax,[ebp+8]; add ecx,0x54; push eax; call
|
|
__thiscall bool InfoDisplayItem::is_line_visible(int lineIndex, Entity_Player* player, unsigned int flags); // RET 0xc; [ebp+8] < line count (0x68 stride at +0x2c), [ebp+0xc] player, [ebp+0x10] flags; caller 0083fc22 push [..+0x30]; push player; push idx; mov ecx,esi; test al,al
|
|
__thiscall bool Entity_Player::is_footstep_triggered(int foot); // RET 0x4; [ebp+8] cmp -1 (any) / 0 (left); caller 00714e5c push -1; mov ecx,player; test al,al
|
|
__stdcall bool Level::boss_count_adjust(int* stage, int* stageType); // RET 0x8; ECX overwritten (mov ecx,[ebp+8]) before use; caller 0074d7e0 copies level->_stage/_stageType to locals, push &stageType; push &stage; test al,al
|
|
__thiscall void Level::ApplyCompassEffect(bool isPersistent); // RET 0x4; mov ebx,ecx, byte [ebp+8]; caller 0043677c push 1; mov ecx,g_game (Level at Game+0)
|
|
__thiscall Entity_Player* Game::GetRandomPlayer(Vector* position, float radius); // RET 0x8; [ebp+8] pos, [ebp+0xc] float radius (Lua Game:GetRandomPlayer(Position, Radius)); caller 004540d9 push 9999999.0f; push &npc->_pos; mov ecx,g_game
|
|
__cdecl float<xmm0> log_precise(float value<xmm0>); // plain RET, no stack; cvtss2sd xmm0,xmm0 at entry, cvtsd2ss xmm0,xmm0 before ret; caller 006cff5a computes xmm0; call; mulss xmm0
|
|
__fastcall bool entity_collision_classes_match(Entity* a, Entity* b); // plain RET, no stack args; mov esi,ecx / mov edi,edx at entry, each +0x188 collision class; caller 0043448c mov edx,edi; mov ecx,esi; call
|
|
__thiscall void Color::SetOffset(float redOffset, float greenOffset, float blueOffset); // RET 0xc; movss [ebp+8/0xc/0x10] -> ECX+0x20/+0x24/+0x28; caller 005d0707 sub esp,0xc; 3x 0.3f; mov ecx,eax
|
|
__thiscall void ItemConfig_Item::~ItemConfig_Item(); // no RET of its own: tail jmp 0040d040 after member dtors on ECX+0x8..+0xd0; no stack reads; caller 007252c7 mov ecx,edi; call; then operator_delete(0xe8)
|
|
static cleanup Entity* Entity_Familiar::ThrowDip(int subType<ecx>, Vector* position<edx>, Entity* spawner); // plain RET; EDX spilled at entry, ECX = dip subtype to Game::Spawn(3,0xc9,pos=EDX,..,spawner=[ebx+8]), returns spawned entity; caller 00534935 lea ecx,[eax+0x12]; lea edx,[ent+0x33c]; push esi; add esp,4. ECX is not a familiar (free spawn helper)
|
|
__thiscall void Entity_Effect::SetRadii(float minRadius, float maxRadius); // RET 0x8; movss [ebp+8]/[ebp+0xc] -> +0x454/+0x458; caller 005bf1f7 sub esp,8; [esp+4]=90.0; [esp]=xmm0; mov ecx,effect
|
|
__cdecl SoundEffects* MusicManager::SFXManager(); // plain RET, ECX not read (eax = g_manager+0x2a324); caller 005b49de mov ecx,g_manager; call; result used as this
|
|
__thiscall Entity_Player* Entity_Player::GetMainTwin(); // plain RET, no stack; returns [ecx+0x1e68] if its +0x161c index is lower, else ECX; caller 005be3e2 mov ecx,edi; call; cmp eax,edi
|
|
__stdcall Vector* NpcHelper::hornfel_get_rail_direction(Entity_NPC* npc<ecx>, Vector* outDirection); // RET 0x4; mov edi,ecx (npc pos +0x334/+0x338 -> grid), every exit mov eax,[ebp+8] and writes the out Vector; caller 004b8213 lea eax,[local]; mov ecx,npc; push eax; movss xmm1,[local]
|
|
__cdecl void mi_random_init_ex(void* ctx, bool isWeak); // plain RET; byte [ebp+0xc]==0 tries BCryptGenRandom, [ebp+8] ctx; caller 00aea173 push 0; push [ebp+8]; add esp,8
|
|
__fastcall void vorbis_info_clear(void* info); // plain RET, ECX only (mov eax,ecx; codec_setup +0x1c), no stack; caller 00a8c9aa lea ecx,[edi+0x408]; call
|
|
__thiscall void* lobby_registry_find_or_create(void* outPointer, uint64_t* lobbyId); // RET 0x8; ECX factory (vfunc +8 creates), [ebp+0xc] 64-bit id ptr for map lookup, returns [ebp+8]; caller 00a532df push edx; push esi; lea ecx,[ebp-0x30]
|
|
__thiscall void FormattedText::set(char* text, void* measureContext, int maxLength, float scale, bool isCopySegments); // RET 0x14; [ebp+8] -> ECX and [ebp+0x10] -> EDX of FormattedText::parse, [ebp+0xc]/[ebp+0x14] float into callback ctx, byte [ebp+0x18] deep-copies segments; caller 008e0b07 push 1; push 1.0f; push 0x64; push ebx; push eax
|
|
static cleanup void glfwSetInputMode(void* window<ecx>, int value); // plain RET; mov edi,ecx, window != NULL assert, [ebp+8] cursor mode 0x34001..4; caller 00897065 mov ecx,[0xc7999c]; push mode; call; add esp,4
|
|
__thiscall void FileSystem::load_mount_points(); // plain RET, no stack args (ebx+1 is a field); mov ebx,ecx; caller 009aa751 mov ecx,0xc379e0; call
|
|
__thiscall void Weapon::update_c_section_charge_anim(int unusedCollectibleId, int chargeState, Vector* direction, float charge); // RET 0x10; [ebp+8] never read (same layout as UpdateHeadChargeAnimation, id fixed 0x2a6), [ebp+0xc] state 0/1/2, [ebp+0x10] dir, [ebp+0x14] float; caller 009fb5b1 push 0.0f; push dir; push 0; push ecx; mov ecx,weapon
|
|
__thiscall void Menu_Title::load_graphics(); // plain RET, no stack args (ebx+4 is the aligned-frame return address); mov esi,ecx; caller 00988ef9 lea ecx,[menu+0x1d4]; call
|
|
__thiscall void GlitchedItemSet::recalculate(); // plain RET, no stack args; mov esi,ecx; caller 007af795 lea ecx,[player+0x1fc8]; call
|
|
__stdcall void GameState::write_player(void* playerState<ecx>, void* writer); // RET 0x4; ECX = 0x5dc-byte player record (not a GameState), [ebp+8] writer: [writer] stream vfunc +0x1c, writer+0xc checksum; caller 009061e6 push &writer; lea ecx,[record]; call
|
|
__fastcall float<xmm0> PlayerManager::get_total_luck(PlayerManager* playerManager); // plain RET, no stack; ECX = Game::GetPlayerManager result, xorps xmm0 then addss [player+0x156c] (_luck) for players with variant 0 and !+0x20a9, sum left in xmm0; caller 0065ab45 call; cvttss2si eax,xmm0. Not a noop: total luck of the players
|
|
__thiscall void PlayerManager::init_main_player(int playerType, unsigned int seed); // RET 0x8; [ebp+0xc] -> _rng (+0xb8) with shifts 5/7/0x16 and Init vfunc arg, [ebp+8] != -2 creates player 0 and goes to Init(1,0,playerType,seed); caller 0042a660 push [g_game+0x1bbd4]; push [esp+0x18]; mov ecx,&playerManager
|
|
static cleanup float<xmm0> bezier_closest_point(Vector* point<ecx>, void* segmentStart<edx>, void* segmentEnd, float* outT); // plain RET; mov esi,edx (0x18-byte bezier node), [ebp+8] next node, [ebp+0xc] optional float out, movaps xmm0,xmm6 before ret; callers 009a0b25 push x; push 0; push &node[i+1]; lea ecx,[point]; add esp,0xc (the third pushed dword is never read)
|
|
__thiscall void Entity_Laser::UpdateHits(); // plain RET, no stack args (ebx+4 is the aligned-frame return address); mov esi,ecx; caller 00970759 ECX = laser still from mov ecx,esi
|
|
__stdcall void* get_server_time(void* outTime); // RET 0x4; ECX never read (Steam context calls first), [ebp+8] out: byte flags +0, 64-bit time +8, _gmtime64 fields; mov eax,esi before ret; caller 008cfc0f lea eax,[local]; push eax; call; test [local],2
|
|
__stdcall bool TemporaryEffects::has_item_effect(TemporaryEffects* effects<ecx>, ItemConfig_Item* item); // RET 0x4; byte [ecx+0x11] (_disabled), walks ECX+4..+8 with 0x10 stride comparing entry+0 to [ebp+8]; caller 00766a73 ItemConfig::GetCollectible(0x29); push eax; mov ecx,player effects; test al,al. Really TemporaryEffects::HasEffect(item), not a vector<int>
|
|
__thiscall void OnlineChatMessage::constructor(); // 0091cec0: plain RET, no stack reads; caller 00906669 lea ecx,[edi+0x24]; call (overload: no-arg ctor)
|
|
__thiscall void OnlineChatMessage::constructor(void* chat, char* text, void* user, void* userRefCount, float timestamp<xmm3>); // 0091cf80: RET 0x10; movss [ebp-0x10],xmm3 at entry -> +0x28, [ebp+8]/[ebp+0xc] to set_text, 8-byte by-value shared_ptr at [ebp+0x10..0x14]; callers 009070d1 sub esp,8 + copy-construct at esp; push x; movss xmm3,1.0; push edi; lea ecx,[local]
|
|
__thiscall void NetplayManager::request_join_lobby(void* lobbyVftable, void* lobby, void* lobbyRefCount); // RET 0xc; one 12-byte by-value smart pointer {vftable 0xb9c1bc, ptr, ctrl}: caller 00908b1a sub esp,0xc; mov [esp],0xb9c1bc; shared_ptr::assign into esp+4; mov ecx,esi; [ebp+0x10] vfunc +0xc called
|
|
__thiscall void ModManager::Reset(); // plain RET (008f8c00 continues past KAGE_LogMessage), no stack args; mov edi,ecx; caller 008fc4c2 mov ecx,eax; call (= REPENTOGON decl; Ghidra's purge is probably unknown because KAGE_LogMessage is marked noreturn)
|
|
__thiscall void* lua_callback_run_entity(void* outRef, int unusedFilter, Entity* entity); // RET 0xc; [ebp+0xc] never read (callback id/filter come from ECX+4/+8), [ebp+0x10] entity, returns [ebp+8]; caller 008660af push ent; push filter; push &out; lea ecx,[local]
|
|
__fastcall void* int_to_string(void* outString, int value); // both 00840540 and 00aaac60 (same name): plain RET, no stack args, ECX out std::string, EDX value (test edx,edx / mov esi,edx), mov eax,ecx-copy before ret; callers 0083cc66 lea ecx,[out]; mov edx,esi / 00a8a191 xor edx,edx; lea ecx,[out]; mov esi,eax
|
|
__thiscall float* Room::get_color_modifier(float* outColor); // RET 0x4; 6 floats from ECX+0x1b10.. copied to [ebp+8], returned; caller 005c51e2 lea ecx,[local]; push ecx; mov ecx,room
|
|
__cdecl float<xmm0> get_angel_room_chance(); // plain RET, no ECX/EDX/stack read (ecx/edx loaded from g_game first); result clamped maxss/minss in xmm0; caller 00749a2d call; movaps xmm1,xmm0
|
|
__thiscall bool Entity_Player::is_evil_charm_immune(EntityRef source); // RET 0x28 = EntityRef by value; [ebp+8] type, [ebp+0xc] variant; caller 005ebb18 sub esp,0x28; mov ecx,esp; EntityRef ctor; mov ecx,player; movzx eax,al
|
|
__thiscall void Entity_Player::init_forgotten_twin(); // plain RET, no stack args; mov edi,ecx; caller 007a219b mov ecx,ebx; call
|
|
__thiscall void Entity_Player::spawn_locusts(); // plain RET, no stack args (ebx+N are not frame refs: frame is ebp); mov esi,ecx; caller 007a7b5a mov ecx,player; call; EAX unused
|
|
__thiscall void Entity_Player::spawn_dark_esau(void* gameStatePlayer); // RET 0x4; [ebp+8] = a GameStatePlayer (caller 00782d24 add eax,0x20ec = _unlistedRestoreState; push eax; mov ecx,twin): reads +0x37c/+0x380 (0x34 stride), +0x22c, +0x424.. (copies into _levelEffectItems), so the name looks wrong (restore-from-state helper)
|
|
__thiscall bool Entity_Player::IsInnateCollectible(int collectibleId, int unused); // RET 0x8; only [ebp+8] read (player-type id lists); caller 00770ae2 push ecx (junk); push id; mov ecx,player; test al,al
|
|
__thiscall void input_state_reset(); // plain RET, no stack args; mov edi,ecx, resets 4 x 0x18 entries at +0x8c..; caller 00754908 lea ecx,[player+0x20ec]; call (ECX is the GameStatePlayer block, likely its constructor)
|
|
__thiscall void Level::Init(bool isResetLilPortalRoom); // RET 0x4 at 00745a8b (aligned frame: mov esp,ebx; pop ebx; ret 4; Ghidra's body stops at KAGE_LogMessage 00744c7e, marked noreturn); byte [ebx+8] -> reset_room_list and FUN_00745b70; caller 0068e318 push 0; mov ecx,level (= REPENTOGON decl)
|
|
static cleanup void GridEntity_Rock::SpawnDrops(Vector* position<ecx>, int gridEntityType<edx>, int gridEntityVariant, unsigned int seed, bool isUnknown, int backdropType, Entity* source); // plain RET; EDX spilled / mov edi,ecx at entry, aligned frame args [ebx+8..0x18] = 5 dwords (REPENTOGON's decl has only 4: this exe adds a trailing entity); callers 005917b5 push edi; push 7; push 1; push seed; push 0; mov edx,6; mov ecx,ebx; add esp,0x14 / 00719a79 push [..+0x24]; push 0; push 0; push [grid+0x14]; push [grid+8]; mov edx,[grid+4]
|
|
__cdecl float<xmm0> sin(float x<xmm0>); // plain RET, ECX/stack unused; cvtss2sd xmm0 -> libm sin -> cvtsd2ss xmm0; 0040b89a caller movss xmm0,[..] then reads xmm0
|
|
__thiscall void AnimationState::SetFrameFloat(float frame<xmm1>); // plain RET; movss [ebp-4],xmm1 at entry, minss vs last frame; 0040a6b5 caller cvtdq2ps xmm1 + lea ecx,[esi+0x30]
|
|
__cdecl float<xmm0> atan2f(float y<xmm0>, float x<xmm1>); // plain RET; fld xmm0 then fld xmm1 -> _CIatan2(st1=y, st0=x), cvtpd2ps xmm0; 0042463f caller movaps xmm1,xmm3 / xmm0,xmm2, reads xmm0
|
|
__cdecl void std::string::_Xlen(); // no return (push "string too long"; call _Xlength_error), no args
|
|
__thiscall void std::string::concat(int tag, std_string* allocSource, char* left, unsigned int leftSize, char* right, unsigned int rightSize); // RET 0x18; MSVC concat-tag ctor: ECX = new string, [ebp+0x14]+[ebp+0x1c] sizes, memcpy [ebp+0x10]/[ebp+0x18]; 00421669 pushes 6
|
|
__thiscall Vector* Entity_NPC::GetControllerMovementInput(Vector* outInput, float deadzone<xmm2>); // RET 0x4; movss [ebp-0x14],xmm2 at entry (zero out if length < deadzone); 004e2632 xorps xmm2 / push &out, reads [eax]
|
|
static cleanup char* path_join(char* name<ecx>, char* dir<edx>, bool isLowercase, bool isAppendSlash); // plain RET; "%s/%s"(edx, ecx); [ebp+8] lowercases, [ebp+0xc] adds '/'; 006838ec push 0; push 0; xor edx,edx; add esp,8
|
|
__cdecl float<xmm0> approach_angle(float current<xmm0>, float target<xmm1>, float maxStep<xmm2>); // plain RET; xmm0/1/2 read at entry; 00432636 caller sets xmm0,xmm1,xmm2, stores xmm0 into +0x154
|
|
__thiscall void Entity_NPC::UpdateChargeBar(float start<xmm1>, float end<xmm2>, float value<xmm3>, bool isHideWhenFull); // RET 0x4; xmm1/2/3 spilled at entry ("Start and End parameters cannot be the same!"); 0048287f xorps xmm1, xmm2=60.0, xmm3=stateFrame, push 1
|
|
__thiscall void* std::_Tree::_Extract(void* node); // RET 0x4; ECX = tree (head at [ecx]), [ebp+8] node unlinked and returned; 008221de push node; lea ecx,tree; eax freed (size 0x14)
|
|
__cdecl float<xmm0> LerpAngleDeg(float from<xmm0>, float to<xmm1>, float t<xmm2>); // plain RET; xmm0/1/2 read at entry; 00414f9e caller sets xmm2,xmm1,xmm0; 0041536d movaps xmm3,xmm0 after
|
|
__cdecl float<xmm0> random_float(); // plain RET; Random() eax -> unsigned double -> * const, result xmm0; 005b4564 caller mulss xmm0 after
|
|
static cleanup unsigned int text_convert_encoding(char* text<ecx>, int length<edx>, int srcEncoding, void* dst, int dstCapacity, int dstEncoding); // plain RET; ECX null-checked, ECX/EDX passed through to text_convert_encoding_to_vector([ebp+8], &vec, [ebp+0x14]); [ebp+0x14] 0/1 = 1/2-byte chars; 007f6c29 push 1,0x20,&buf,0, edx=strlen, add esp,0x10
|
|
__thiscall void Font::draw_glyph_run(float x<xmm2>, float y<xmm3>, void* glyphRun, float scaleX, float scaleY, KColor color, void* settings); // RET 0x24 (1+1+1+5+1 slots); xmm2/xmm3 spilled at entry, [ebp+0x28] FontSettings align switch; 00837f37 caller xmm2/xmm3, push &settings, 0x14-byte color copy, 2 floats, push layout_glyphs result
|
|
__thiscall void std::string::append_n(unsigned int count, char ch); // RET 0x8; memset(end, [ebp+0xc], [ebp+8]) or grow; 004d17f9 push 0; push n; lea ecx,str
|
|
static cleanup PosVel* Entity_Player::GetMultiShotPositionVelocity(PosVel* outPosVel, int loopIndex, int weaponType, Vector shotDirection, float shotSpeed, short numTears, float spreadAngleTears, float spreadAngleLaser, float spreadAngleTechX, float spreadAngleKnife, int numEyesActive, float multiEyeAngle, bool isCrossEyed, short numRandomDirTears); // plain RET, callers add esp,0x3c; ECX unused; REPENTOGON's by-value Weapon_MultiShotParams (0x24 at [ebp+0x20]) expanded since the struct is not in structs.hpp (numLanesPerEye at +0x22 and the 2 bools after isCrossEyed share slots); 00635c48
|
|
__cdecl float<xmm0> Math::clamp(float min<xmm0>, float max<xmm1>, float value<xmm2>); // plain RET; maxss xmm2,xmm0; minss xmm2,xmm1; movaps xmm0,xmm2; 005bd25e caller xorps xmm0, xmm1=const, xmm2=value, stores xmm0
|
|
static cleanup std_string* Level::get_stage_display_name(std_string* outName<ecx>, int stage<edx>, int stageType, unsigned int curses, int numeral, bool isScrambled, int mode); // plain RET, callers add esp,0x14; ECX out string (returned), EDX stage -> RoomConfig::GetStageID(ecx,[ebx+8],mode), [ebx+0xc]&2 labyrinth, [ebx+0x10] Game._stageNameNumeral, byte [ebx+0x14] string_scramble_seeded, [ebx+0x18] -1 = greed by difficulty; 00746233 push -1, flag, numeral, curses, stageType; edx=stage
|
|
__cdecl float<xmm0> angle_difference(float from<xmm0>, float to<xmm1>); // plain RET; only xmm0/xmm1 read, both wrapped to [-180,180], returns shortest signed (to - from) in xmm0 (no t: it is a difference, not a lerp); 00502b5c caller xmm1=atan2 deg, xmm0=current, mulss xmm0 after
|
|
__thiscall TearParams* TearParams::operator_(TearParams* other); // RET 0x4; copies 0x64 bytes from [ebp+8] into ECX, mov eax,ecx
|
|
__thiscall Vector* Entity::Velocity(Vector* outVelocity); // RET 0x4; [ebp+8] <- this+0x360/0x364, eax = out; 005d4718 push &local; mov ecx,entity; push eax after
|
|
__fastcall int ogg_stream_packetout(void* streamState, void* packet); // plain RET, no [ebp+n] reads: ECX ogg_stream_state, EDX ogg_packet (libogg _packetout, adv folded); callers 00a8d3bc push ecx (dummy slot), lea edx,packet, add esp,4
|
|
__stdcall bool leaderboard_find_async(char* name, int mode, void* callback, void* userData); // RET 0x10; ECX never read (push ecx = slot); offline: callback(0,[ebp+0x14]), xor al,al; 006fdce4 push esi; push 0x85ae10; push 0; push name
|
|
__thiscall void* set_quad_corner_colors(Vector* topLeft, Vector* topRight, Vector* bottomLeft, Vector* bottomRight, KColor* color); // RET 0x14; ECX = DestinationQuad (+0x20 ColorQuad): forwards [ebp+8..0x14] to DestinationQuad ctor, 5-dword color [ebp+0x18] into 4 corners, mov eax,esi; 00818b54 caller 5 pushes, mov esi,eax after
|
|
static cleanup Vector* vector_lerp(Vector* outResult<ecx>, Vector* from<edx>, Vector* to, bool isClamped, float t<xmm3>); // plain RET, callers add esp,8; out = from + (to-from)*t, byte [ebp+0xc] clamps xmm3 to [0,1], eax = ECX; 005dff5f push 0; push &pos; xmm3=t; lea edx; lea ecx
|
|
__thiscall Vector* rich_text_render(Vector* outSize, char* text, Vector* position, KColor* color, float scale, int maxWidth); // RET 0x18; ECX = renderer (font at +0x18, line height word +0x2c) spilled at entry; [ebp+0xc]/[ebp+0x14]/[ebp+0x1c] -> rich_text_layout (5-dword color), movss [ebp+0x18] scale; 0083f323 push -1, 0.5f, &color, &pos, str, &out; ecx = PlayerHUD+0x384
|
|
__thiscall int Entity_Knife::GetBaseVariant(); // plain RET; mov ecx,[ecx+0x2c] variant switch, eax result; 00966380 mov ecx,esi; cmp eax,1 after
|
|
__thiscall void SFXManager::SetAmbientSound(int soundId, float volume, float pitch); // RET 0xc; [ebp+8] id, comiss 0.01 vs [ebp+0xc], IsPlaying/AdjustVolume/AdjustPitch/Play; 00441ee2 push 1.0f, volume, push 0x2d9; ecx = g_manager+0x2a324
|
|
__thiscall void PlayerHUD::reset(); // plain RET, no stack args; ECX = HUD player entry (mov edi,ecx), clears slots/SmartPointers
|
|
__thiscall int Room::GetGridPathFromPos(Vector* position); // RET 0x4; [ebp+8] x/y -> grid index, eax = this->_gridPaths[i] or 0; 00516719 push &pos; mov ecx,room
|
|
__thiscall void Entity_Player::AddSoulCharge(int count); // RET 0x4; [ebp+8] + _effectiveSoulCharge(0x1da8) clamped 0..99
|
|
__thiscall void Entity_Player::AnimateHappy(); // plain RET, no [ebp+n]; ECX player (mov edi,ecx) -> PlayExtraAnimation("Happy"); 00605913 mov ecx,player, no pushes
|
|
__thiscall RoomDescriptor* RoomDescriptor::operator_assign(RoomDescriptor* other); // RET 0x4; copies from [ebp+8] into ECX (0xb8 bytes + vectors/sets), mov eax,edi
|
|
static cleanup Entity* Game::GetNearestTargetPlayer(Vector* position<ecx>, Entity* source<edx>, bool isPlayersOnly, bool isTargetDecoyFamiliars, void* distanceFunc, float maxDistance<xmm1>); // plain RET, callers add esp,0xc; ECX pos (read [ecx],[ecx+4]), EDX source entity (IsEnemy, +0xf38), movss xmm1 at entry (squared), byte [ebp+8] skips decoy redirect, byte [ebp+0xc] queries familiars 3.0x43, [ebp+0x10] called as distance fn; 00515648 push fn, flag, flag; edx=npc; lea ecx,[npc+0x33c]
|
|
__stdcall EntityList* Entity_NPC::QueryNPCsSpawnerType(EntityList* outList, int spawnerType, int entityType, bool isOnlyEnemies); // RET 0x10; ECX never read (push ecx = slot, ecx written before use); fills room EL by [esi+0x34]==[ebp+0xc], type [ebp+0x10] (0 = any), byte [ebp+0x14] enemy filter, copies to [ebp+8], eax = out; 0047bc55 push 1; push edx; push [edi+0x28]; push &list
|
|
__thiscall void Entity::Remove(); // plain RET, no stack args; 006acb00 clears _exists, sets _dead, releases Lua refs; 008c5d06 (same name) is the vtable thunk jmp [[ecx]+0x28], also no args
|
|
__thiscall std_string* EntityConfig_Entity::GetName(std_string* outName, unsigned int language); // RET 0x8; [ebp+0xc] language (0x14 = current), '#' names via StringTable "Entities", string built in [ebp+8], mov eax,edi
|
|
__thiscall void Entity_Familiar::RemoveFromFollowers(); // plain RET, no [ebp+n] reads; ECX familiar (mov esi,ecx), relinks _parent/_child
|
|
static cleanup void Color::apply_to_kcolor(KColor* outColor<ecx>, ColorMod* color<edx>, KColor* input); // plain RET, callers add esp,4; EDX tint/colorize/offset read first, [ebp+8] input multiplied, result stored to [ecx..+0x10]; 006b4e50 lea edx,[edi+0x1e4]; push &kcolor
|
|
__thiscall int Entity::GetHitPointsLost(); // plain RET; cvttss2si [ecx+0x3a4] - cvttss2si [ecx+0x3a0] (maxHP - HP) in eax; 005d4660 mov ecx,entity, eax stored
|
|
__thiscall void EntityList_EL::remove(Entity* entity); // RET 0x4; removes every [ebp+8] from data(+4)/count(+0xc); 00418514 push ebx; lea ecx,[esi+0x40]
|
|
__cdecl void oc_ycbcr_buffer_flip(void* dst, void* src); // plain RET, ECX unused; [ebp+8] dst, [ebp+0xc] src (3 th_img_planes, stride negated); 00adda4e push eax; push eax; add esp,8
|
|
__thiscall int stb_vorbis::next_segment(); // plain RET, no stack args; ECX = vorbis (mov esi,ecx), eax = segment length (movzx edi,bl -> mov eax,edi) or 0
|
|
__thiscall unsigned int buffered_stream_write(void* data, unsigned int size, unsigned int count); // RET 0xc; ECX = stream+0x28 (fields at [ecx-0x28..-4]), size*count from [ebp+0xc]*[ebp+0x10], memcpy from [ebp+8]; 008ff338 push 1; push 0x38; push data; lea ecx
|
|
__thiscall int Window::get_framebuffer_height(); // plain RET, no stack args; ECX+0xbc GLFWwindow, returns height via platform callback; 0095416b mov ecx,0xc798e0
|
|
__thiscall Entity_Tear* fire_fetus_tear(Vector* position, Vector* velocity, int fireFlags, Entity* source, float damageMultiplier, int unused); // RET 0x18; ECX = Weapon (owner at [ecx+4] when source null, [ecx+0x30]==10 check), [ebx+8] pos + [ebx+0xc] vel -> Game::Spawn(2,..), [ebx+0x10]&4 clears _canTriggerStreakEnd, edx=[ebx+0x14], movss [ebx+0x18]; [ebx+0x1c] never read; 00636c14 sub esp,8 ([esp]=1.0f), push edi, 7, &vel, pos; ecx=weapon; eax = tear
|
|
__thiscall void PlayerManager::revive_player_ghosts(); // plain RET, no stack args; ECX = PlayerManager (player vector at +0/+4), RevivePlayerGhost when +0x20a9; 006622f5 mov ecx,eax (GetPlayerManager)
|
|
__thiscall Vector* HUD::get_player_hud_position(Vector* outPosition, int hudIndex, int layout); // RET 0xc; ECX HUD (+0x5954 table, stride 0x6dc per player hud), [ebp+8] out, [ebp+0xc] index, [ebp+0x10] layout (1/3); 008d17b8 push esi; push edi; push &out; lea ecx,[g_game+0x1da04]
|
|
__stdcall void render_online_icon(int frame, Vector position, float scaleX, float scaleY); // RET 0x14 (1+2+1+1); ECX never read (lea ecx,[g_manager+0x4acf8] first); [ebp+8] cvtdq2ps frame -> SetFrameFloat, [ebp+0xc] position rendered by address, movss [ebp+0x14]/[ebp+0x18] -> sprite scale; 008df0fd push y; push x; push frame
|
|
__thiscall float SFXManager::GetAmbientSoundVolume(int soundId); // RET 0x4; [ebp+8] index into 0x1b8-byte sounds, fldz / fld [+0x194] (ST0); 00441ea9 push 0x2d9; lea ecx,[g_manager+0x2a324]; fstp after
|
|
__thiscall void NetplayManager::RemoveRemotePlayer(void* userProfile); // RET 0x4; ECX manager (mov edi,ecx), [ebx+8] UserProfile (player+0x370), reads [esi+4]
|
|
__stdcall bool lua_run_input_action_callback(Entity* entity, int hook, int action, bool* outValue); // RET 0x10 at 00864d77 (after the catch funclet at 00864d16); ECX/EDX overwritten first (ecx = g_luaEngine); [ebp+8]/[ebp+0xc]/[ebp+0x10] -> CallInputAction(engine, entity, hook, action), byte stored to [ebp+0x14]; 0068b3cf push &out, 0x21, 1, 0; al = overridden
|
|
__thiscall void text_image_cache_clear(); // plain RET, no stack args; ECX = cache (mov eax,ecx), two 0x14-byte records at +4, clears +0x28
|
|
__thiscall void Music::SetPitchAll(float pitch<xmm1>); // plain RET; movss [ebp-4],xmm1 at entry, stored to +0x14 per track and passed to vslot 0x58; 006fa188 movss xmm1,1.0f
|
|
__thiscall void Entity_Player::room_exit(bool isKeepHolyMantle); // RET 0x4; ECX player (mov esi,ecx), byte [ebp+8]==0 clears _holyMantleState (+0x13b4)
|
|
__thiscall void Level::ApplyBlueMapEffect(); // plain RET, no stack args; ECX level (mov ebx,ecx), ORs DisplayFlags 4 on rooms of type 7/8
|
|
__thiscall ItemConfig_Item* ItemConfig_Item::ItemConfig_Item(); // plain RET, no stack args; zero-inits ECX record, mov eax,ecx
|
|
__thiscall void* LevelGenerator_Room::LevelGenerator_Room(void* other); // RET 0x4; copy ctor: ECX new 0x48-byte room (mov ebx,ecx) <- [ebp+8], deep-copies set at +0x30, mov eax,ebx; 00752bb5 push src; mov ecx,dst
|
|
__thiscall void Game::store_game_state(GameState* state); // RET 0x4; ECX game (mov esi,ecx), [ebp+8] -> GameState::Clear(ecx=state), seeds copied to state+0x1e724
|
|
__thiscall void Entity_NPC::FollowParentSegment(bool isFollowParent, float segmentDistance<xmm1>, float maxSpeed<xmm2>); // RET 0x4; movss xmm2/xmm1 spilled at entry, byte [ebp+8] && _parent gates the follow; maxSpeed <= 0 snaps _pos, else sets velocity; 0046c03e xmm2=const, xmm1=[ebp-0xec], push 1, mov ecx,npc
|
|
__thiscall bool Entity::is_grid_collision_at(Vector* position); // RET 0x4; ECX entity (+0x184 grid coll class, +0x178 sample vector), [ebp+8] position; 0042bc5d push &vec
|
|
__thiscall void Color::SetColorize(float red, float green, float blue, float amount); // RET 0x10; movss [ebp+8..0x14] -> ECX+0x10..0x1c (_colorize); 005d6be9 4 float pushes, mov ecx,color
|
|
__thiscall bool Entity_Familiar::apply_baby_bender(Entity_Tear* tear); // RET 0x4; ECX familiar ([edi+0x410] player HasTrinket 0x7f), [ebp+8] tear (+0x428 TearFlags, +0xf0 color); bl result
|
|
__thiscall Entity_Player* Entity::ToPlayer(); // plain RET; test ecx / cmp [ecx+0x28],1 / mov eax,ecx; 005d7ae5 mov ecx,[e+0x3c8], eax stored
|
|
__thiscall void Entity::SetField380(float value); // RET 0x4; movss [ebp+8] -> [ecx+0x380]; 005bdefa push ecx / movss [esp],xmm0
|
|
static cleanup bool show_beta_disclaimer_popup(int mode<ecx>, void* callback<edx>, void* userData); // plain RET, callers add esp,4; ECX 0/1 mode (mov edi,ecx; == 0/1 branches), EDX callback (mov esi,edx), [ebx+8] -> DAT_00c71654; 008cf865 push edi; mov edx,0x8d0ed0; mov ecx,1; test al after
|
|
__thiscall void EntityList::sublist_init(EntityList_EL* parent, int capacity); // RET 0x8; ECX = new sublist EL (mov edi,ecx; byte [edi]=1), [ebp+8] parent EL (+4 data/+8 cap/+0xc used), [ebp+0xc] count ("EL: invalid sublist")
|
|
__cdecl void* th_decode_alloc(void* info, void* setup); // plain RET, ECX unused; [ebp+8]/[ebp+0xc] null-checked then oc_dec_init(dec, info, setup), returns decoder or 0
|
|
__thiscall int stb_vorbis::start_page_no_capturepattern(); // plain RET, no stack args; ECX = vorbis (mov esi,ecx), returns 1 / 0 (error +0x74)
|
|
__thiscall void* eos_user_info_find_or_create(void* outUserInfo, void* user); // RET 0x8 (the other eos_user_info_find_or_create at 00a703f0 is RET 0xc, so this line only fits 00a70a10); ECX = user-info maps (0xc5ac08), [ebp+0xc] user (EOS ids at +0x10/+0x14), out SmartPointer [ebp+8] returned (mov eax,edi); 00a6f88c push [ebp-0x10]; push &out; mov ecx,0xc5ac08
|
|
__thiscall void KAGE::Network::MultiplayerManager::request_lobby_list(void* filters, void* callback, void* userData); // RET 0xc; ECX manager (mov edi,ecx), [ebp+8] filter struct (+0x20/+0x24/+0x28), callback/ctx stored at +0x128/+0x12c; 008de9df push esi; push 0x8e2530; push &filters; mov ecx,0xc79a50
|
|
__thiscall bool InputManager::is_device_connected(int deviceIndex); // RET 0x4; [ebp+8] forwarded to vslot 0x28 (device shared_ptr by index), setne bl on ptr
|
|
__cdecl uint64_t get_time_ms(); // plain RET, no args, ECX/EDX not read (GetTimeNs first); EDX:EAX = ns / 1000000
|
|
__thiscall void Weapon::stop_costume_item_anim(int collectibleId); // RET 0x4; ECX weapon (owner [ecx+4]), edx=[ebp+8] collectible; callers ignore eax: 009fb547 push 0x13c; mov ecx,edi
|
|
__thiscall void Seeds::ForgetStageSeed(int levelStage); // RET 0x4; [ebp+8] clamped to 0..13, xorshifts _stageSeeds[i] (+0x18)
|
|
__thiscall void* GlitchedCollectibleGfx::render_item(int itemId, SourceQuad* sourceQuad, void* destQuad, void* colorQuad); // RET 0x10; ECX gfx (mov esi,ecx; item vector [esi]/[esi+4], image [esi+0xc]), not [ebp+8] = index, SourceQuad copy of [ebp+0xc] offset to the 32x32 cell, [ebp+0x10]/[ebp+0x14] passed to image vslot 0x14; xor eax,eax on failure (return type uncertain); 00845358 push [ebp+8], ..., push [edi]
|
|
__fastcall bool read_entity_save_state_tree(void* saveState, void* stream); // plain RET, no [ebp+n] reads; ECX = EntitySaveState (mov esi,ecx), EDX = stream (mov edi,edx; vslot 0x14 reads), recurses on 0x78-byte children, mov al,1; 009cbe38 mov ecx,[edi+0x74]+i; mov edx,esi
|
|
__thiscall void entity_vector_set_flag_410(bool value); // RET 0x4; ECX = entity pointer vector (begin/end), byte [ebp+8] -> each +0x410; 00429318 push 1; ecx = g_game+0x1baa8 (player list)
|
|
__thiscall bool is_single_player(); // plain RET; cmp [ecx],0 then g_manager+0x4b3d8 vector size <= 1 -> al; 006facf0 lea ecx,[g_game+0x23a74]
|
|
__thiscall void* FXLayer::copy_constructor(void* other); // RET 0x4; ECX new 0x4c-byte layer (mov esi,ecx) <- [ebp+8] (SmartPointer, vector), mov eax,esi
|
|
__thiscall void Entity_Laser::update_laser(); // plain RET, no [ebx+n] stack reads; ECX laser (mov edi,ecx)
|
|
__thiscall void Manager::validate_language(int unused); // RET 0x4 but [ebp+8] never read; callers 009246f8/00952470 push ecx (dummy slot); ECX manager (mov esi,ecx), +0x4a920/+0x4a938 reset to 0 when not in the sets
|
|
static cleanup void SoundEffect::move_constructor(void* dst<edx>, void* src); // plain RET, callers add esp,4; EDX dest (mov esi,edx), [ebp+8] src (mov edi,[ebp+8]), ECX not read; 0092d62f lea ecx,src; push ecx; mov edx,eax
|
|
__fastcall void online_vote_send(int vote); // plain RET, no [ebx+n] reads, EDX unused; ECX vote 0/1 (mov esi,ecx; "Invalid vote specified"); 006fa9c5 xor ecx,ecx; call, no pushes
|
|
__stdcall bool online_lobby_is_user_banned(void* lobby); // RET 0x4; ECX never read before lea ecx,[ebp-0x6c]; [ebp+8] lobby (+4 copied), al = banned; 008e12df lea eax,[ebp+8]; push eax; test al
|
|
__thiscall void ModManager::create_shader_render_targets(); // plain RET, no stack args; ECX = mod vector (mov eax,ecx; [eax]/[eax+4])
|
|
__thiscall HomingLaser* HomingLaser::operator_assign(HomingLaser* other); // RET 0x4; copies 7 dwords + vectors from [ebp+8] into ECX, mov eax,esi
|
|
__thiscall void ANM2::update_appear_then_idle(); // plain RET, no stack args; ECX sprite (mov esi,ecx), updates +0x30/+0x50 states, "Appear" -> Idle
|
|
__thiscall void Room::RemoveGridEntity(int gridIndex, int pathTrail, bool isKeepDecoration); // RET 0xc; [ebp+8] < 0x1c0, [ebp+0xc] -> _gridPaths[i] (+0x76c), byte [ebp+0x10] skips type-1 decorations (REPENTOGON RemoveGridEntityImmediate args); 0068e0ae push 0; push 0; push idx; mov ecx,room
|
|
__stdcall bool Entity_Pickup::CanFlip(Room* room<ecx>, Entity_Pickup* pickup, EntitySaveState* outSaveState, bool isIgnoreMinecart); // RET 0xc; ECX is the Room, not a pickup ([ecx+4] read; callers mov ecx,GetRoom() / [g_game+0x18300]); [ebp+8] pickup, [ebp+0xc] EntitySaveState filled, byte [ebp+0x10]; 005c102d push 0; push &state; push pickup
|
|
__thiscall void Entity_Player::AddCurseMistEffect(); // plain RET, no [ebp+n] reads; ECX player (mov edi,ecx), recurses on +0x1e6c twin with only ECX set
|
|
__thiscall float<xmm0> Entity_Player::GetGreedDonationJamChance(PersistentGameData* data); // RET 0x4; [ebp+8] null -> g_manager+0x14, result left in xmm0 on both paths (movaps xmm0,xmm1); 0066205c caller movss [..],xmm0 after
|
|
__thiscall void Entity_Player::dash_impact(); // plain RET, no [ebp+n] reads; ECX player (mov ebx,ecx)
|
|
__thiscall void Entity_Player::TryRemoveTrinketCostume(int trinketId); // RET 0x4; [ebp+8] & 0x7fff indexes ItemConfig trinkets, HasTrinketEffect([ebp+8]) / RemoveCostume
|
|
__thiscall void Entity_Player::SetQueuedItem(ItemConfig_Item* item, int charge, uint8_t flags, int varData, int itemPoolType); // RET 0x14; FlushQueueItem then [ebp+8..0x18] -> +0x17c4 item, +0x17c8 charge, byte +0x17cc flags (1 touched, 2 golden), +0x17d0, +0x17d4; QueueItem 0075e160 passes its 4 args + ItemPool _lastPool
|
|
__thiscall bool Level::CanSpawnTrapDoor(); // plain RET, no stack args; ECX level (mov ebx,ecx; curses +0xc, dimension +0x1830c); 005b8985 GetLevel(); mov ecx,eax; al tested
|
|
__thiscall int ItemPool::GetCollectibleFromList(int* list, unsigned int length, unsigned int seed, unsigned int defaultItem, bool isAddToBlacklist, bool isExcludeActives); // RET 0x18; this is REPENTOGON's ItemPool::GetCollectibleFromList (same 6 args): ECX pool (removed bitsets +0x67c/+0x68c), [ebp+8] id list, [ebp+0xc] count, [ebp+0x10] xorshift seed, [ebp+0x14] default returned in eax, byte [ebp+0x18] marks it removed, byte [ebp+0x1c] skips ItemConfig type 3; 0049c1b0 push 0,1,0x24,seed,0xc,0xb1e620; lea ecx,[g_game+0x1a740]
|
|
static cleanup void GridEntity_Poop::spawn_drops(Vector* position<ecx>, int variant<edx>, unsigned int seed, bool isLowDropChance, bool isNoWisp, EntityRef* source); // plain RET, callers add esp,0x10 (00571f8d); ECX position (pushed to Spawn), EDX poop variant (cmp 0/2/3), [ebx+8] seed (xorshift), byte [ebx+0xc] 0.01 roll, byte [ebx+0x10]==0 -> Book of Virtues AddWisp, [ebx+0x14]+0x24 entity; 00571f6e push ref, 0, 0, [esi+0x3ec]; lea ecx,pos; mov edx,edi
|
|
__thiscall void Room::LoadBackdropGraphics(); // plain RET at 007f1fbc; ECX this (Room: reads +0x4 _descriptor, +0x8 _roomType, +0x1bb0 _bossId, Backdrop::Init(this+0x1bc8))
|
|
__thiscall LootList* Entity_Pickup::GetChestLoot(LootList* outLoot, bool isShouldAdvance, Entity_Player* player); // RET 0xc (at 006ddc24); this is REPENTOGON's Entity_Pickup::GetLootList (same RNG select as its EntityPickup_GetLootList_SelectRNG patch: 006db062 cmovnz edi,esi then xor eax,1 on the bool); [ebp+8] hidden LootList out returned in eax, byte [ebp+0xc] picks _dropRNG vs a copy, [ebp+0x10] player
|
|
__thiscall void Console::RunCommand(std_string* command, std_string* output, Entity_Player* player); // RET 0xc (at 006924c4); REPENTOGON Console.zhl declares it (std_string &in) but the dump still shows plain undefined4 params + in_ECX for this
|
|
__thiscall bool Level::place_special_rooms(LevelGenerator* generator, int minDifficulty, int maxDifficulty); // RET 0xc at 0073cf23; caller generate_dungeon 00741aef push maxDifficulty; push minDifficulty; push &generator; mov ecx,level (difficulty 1/5/10 .. 5/10/15), both forwarded to RoomConfig::GetRandomRoomWithFallbackStage; returns 0 on failure, caller tests al
|
|
__thiscall bool ItemConfig::Load(char* xmlPath, void* modEntry); // RET 0x8 at 00727426; callers 008f3380 push [esi]; push path; lea ecx,[ecx+0x2a404] and 009532bd push 0; push path; mov ecx,edi; modEntry null = vanilla (clears tables first), else +0xec; returns 1 when loaded
|
|
__thiscall void Room::Init(RoomConfig_Room* config, RoomDescriptor* descriptor); // RET 0x8 (007f78b1); ECX room, [ebp+8] config (+0x40 spawn list, +0x44 spawn count), [ebp+0xc] descriptor; Level caller passes desc->Data/OverrideData; eax=1 unused by caller
|
|
__thiscall Manager* Manager::constructor(); // plain RET (00950eae); ECX this, initialises members and returns it
|
|
__thiscall void Entity_Player::update_shooting(); // plain RET (00780372); ECX player, no stack args
|
|
__thiscall void Entity_Effect::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10 (at 005d1ef9); vtable slot 1, forwards all four stack args to Entity::Init
|
|
__thiscall void Entity_Player::Update(); // plain RET (at 0078b28c); vtable slot 3, ECX this, no stack args
|
|
__thiscall void Entity_Projectile::Update(); // plain RET (at 0065ad01); vtable slot 3, ECX this, no stack args
|
|
__thiscall bool EntityConfig::LoadEntities(char* path, void* mod); // RET 0x8 (00698a53); ECX saved at 00695105 (EntityConfig, callers lea ecx,[manager+0x2a670]); [ebx+8] path, [ebx+0xc] mod (0 = vanilla, ModEntry later stored at entity +0x160); xor al,al on open failure, 1 after parse
|
|
static cleanup RoomConfig_Room* RoomConfigRoom::ParseXml(RoomConfig_Room* outRoom<ecx>, void* node<edx>, RoomConfig_Room* room); // plain RET at 0082a912; ECX out (copy-constructed from room by FUN_0082a920 and returned), EDX xml node ([edx+0x20] first attribute), [ebx+8] room filled; caller 00829891 lea ecx,[ebp-0xd0]; mov edx,node; push &room; add esp,4
|
|
__thiscall void Weapon_Bone::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 009fba23 (only RET); Weapon_Bone vftable slot 3, same shape as Weapon::Fire; [ebp+8] direction read as x/y, byte args 2/3 (param_3 != 0 returns early before charge logic)
|
|
__thiscall bool Entity_Player::TakeDamage(float damage, unsigned long long damageFlags, EntityRef* sourceRef, int damageCountdown); // RET 0x14 at 0077904b (only RET); vtable slot 8, REPENTOGON Entity::TakeDamage shape; today Ghidra splits it as (Entity* param_2 = float damage, uint param_3 / float param_4 = flags low/high, EntityRef* param_5, int param_6): HasInvincibility(this, CONCAT44(param_4,param_3), source)
|
|
__thiscall bool EntityConfig::load_players_xml(char* path, void* modEntry); // RET 0x8 at 0069b799; [ebp+8] path -> FileSystem::Open, [ebp+0xc] ModEntry* (null for vanilla; +0x550.. menu ANM2s), returns 0 when the file is missing else 1
|
|
__thiscall void Entity_Player::UsePill(int pillEffect, int pillColor, unsigned int useFlags); // RET 0xc at 007c77de (only RET, aligned-frame ebx epilogue); ECX player (mov edi,ecx); param 2 &0x7ff pill color (14 = gold), bit 0x800 horse; param 3 use flags (|0x900 in netplay), forwarded to LuaEngine::UsePill
|
|
__thiscall bool Backdrop::LoadConfig(char* xmlPath); // RET 0x4 (all three RETs); ECX backdrop (config array at +0x154, stride 0x13c), [ebp+8] path passed to FileSystem::Open; returns 0 when the file cannot be opened, 1 after parsing (REPENTOGON declares void)
|
|
__thiscall void Weapon_Tears::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0d800 (only RET); Weapon_Tears vftable slot 3, same shape as Weapon::Fire which it calls first with the same three args
|
|
__thiscall void Weapon_Fetus::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a03f59 (only RET); vftable slot 3, calls Weapon::Fire(this, dir, isShooting, isInterpolated) first; [ebp+8] stored to weapon+0x48/0x4c at exit
|
|
__thiscall void Entity_Player::Init(int type, int variant, int subType, unsigned int seed); // RET 0x10 (00757978); vtable slot 1, forwards [ebp+8..0x14] to Entity::Init; variant 1 (baby) reads subType as baby skin (0x19 Glitch Baby), else as player type
|
|
__thiscall bool ItemConfig::load_pocketitems_xml(char* path, void* modEntry); // RET 0x8 at 0072e637; ECX this (saved to a stack slot, +0x24/+0x30 card and pill vectors), [ebp+8] path -> FileSystem::Open, [ebp+0xc] ModEntry (0 = vanilla; stored at card +0x68 / pill +0x50); returns 1 after parsing, 0 when the file does not open; callers Manager::load_configs (push 0), ModManager::LoadModContent
|
|
__thiscall void Entity_Familiar::ai_wisp(); // plain RET at 0043d537, no stack args read; ECX this (mov edi,ecx at 0043aabd); caller Entity_Familiar::Update
|
|
__thiscall bool PersistentGameData::TryImportRebirthLocalSave(char* path); // RET 0x4 (at 0092b924); aligned ebx frame, [ebx+8] path strlen()d and searched for "Binding of Isaac Repentance+"
|
|
__thiscall void Entity_Familiar::Init(unsigned int type, unsigned int variant, unsigned int subtype, unsigned int initSeed); // RET 0x10 (at 0061022d); ZHL decl; param_4 is the subtype compared with 0xd903 (55555), not a pointer
|
|
static cleanup void ItemConfig::load_wisp_node(std_string* gfxRoot<ecx>, void* node<edx>, float* entry, void* colorPresets); // plain RET at 0072a19e, caller 0072ab94: lea ecx,[ebp-0x2c]; edx = wisps.xml node; push &colorMap; push WispEntry(0x198); add esp,8 after. ECX is the gfx root string prefixed to the png attrs, EDX+0x20 first attribute
|
|
__thiscall void Room::render_water(int pass); // RET 0x4 (at 0081df0c); ECX = Room (esi=ecx, [esi+0x1d18] backdrop); callers push 1 (0080f172) / push 0 (0080ff5e); the stack arg is never read
|
|
__thiscall void Entity_Familiar::ai_umbilical_baby(bool isInterpolated); // RET 0x4 (00434e69); ECX familiar; Update pushes 0 (00623e74), Interpolate pushes 1 (00624b79), which halves the step (speedMultiplier * 0.5)
|
|
__thiscall void Menu_Collection::render_item_pool_icons(int collectibleId, Vector* position); // RET 0x8 (008d7cad); caller 008d556a: push &pos (lea [ebp-0x3c]), push [ecx+4] id, mov ecx,ebx; ECX object holds the icon ANM2 at +0x1f0 (not Menu_Collection layout, so this stays void*)
|
|
__thiscall void Entity_Tear::UpdateBoneTear(Entity* target); // RET 0x4 at 00677767; ECX = tear, [ebp+8] becomes the chain-lightning effect's _target (multiset insert); callers 0066836b push 0; mov ecx,tear
|
|
__thiscall bool Cutscene::load_xml(char* path); // RET 0x4 at 0095dec8; callers 00952f72 push path.c_str(); lea ecx,[manager+0x20dd0] (Cutscene); FileSystem::Open([ebp+8]); returns 0 when the file is missing, else 1
|
|
__thiscall bool ItemConfig::load_costumes_xml(char* path, void* mod); // RET 0x8; ECX saved to [ebp-0xdc] (costume vectors at +0/+0xc/+0x18), [ebx+8] path to FileSystem::Open, [ebx+0xc] mod (0 = vanilla; mod+0xec id map); returns 0/1
|
|
__thiscall void PlayerManager::handle_coop_join(); // plain RET 009bb5c3; ECX this (players vector at +0, coop slots), no stack args
|
|
__thiscall void Backdrop::spawn_wall_details(int slotX, int slotY, int wallType, int wallVariant, float* wallQuad, bool isFlipX, bool isFlipY); // RET 0x1c (at 0093d2ea/0093d952); ECX backdrop (+0x150 type, +0x4f28 RNG); caller Backdrop::pre_render_walls passes slot x/y, wall type, variant index, quad, flipX, flipY (6/7 also go to backdrop_wall_normal)
|
|
__thiscall void Level::generate_greed(); // plain RET at 00744606; ECX level (mov ebx,ecx; reads _stage, _generationRNG), no [ebx+8..] reads before the RET
|
|
__fastcall void FamiliarAI::sprinkler(Entity_Familiar* familiar); // plain RET (006378bf); mov edi,ecx at entry, no EDX/stack args; Entity_Familiar::Update case 0x78
|
|
__thiscall bool ItemConfig::LoadBombCostumes(char* path, bool isAppend); // RET 0x8 (0072fc85); ECX ItemConfig, [ebp+8] bombcostumes.xml path to FileSystem::Open, byte [ebp+0xc]==0 clears the costume map this+0x110 first; returns 0 when the file fails, 1 after parsing
|
|
__thiscall void Entity_Knife::apply_hit_effects(Vector* pos, Entity* target, Vector* targetPos, float targetSize, float damage, uint64_t damageFlags, bool isFlying); // RET 0x20 (0096cb5d); ECX knife; damageFlags = [ebp+0x1c]:[ebp+0x20] (CONCAT44(param_8,param_7)|4 -> Game::BombDamage); callers Entity_Knife::HandleCollision pass (pos,collider,&collider->_pos,collider->_size,damage,0,0,_isFlying)
|
|
__thiscall void Weapon_Brimstone::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a00d07 (function ends 00a00d10); ECX weapon (mov esi,ecx at 009ff38d), [ebp+8..0x10] forwarded unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Fetus::Fire; today the decompile has no this and reads in_ECX
|
|
__thiscall void Entity_Player::level_start(bool isForced); // RET 0x4 at 007a62eb (and 4 more before 007a6300); ECX player (mov ebx,ecx at 007a4bce), byte [ebp+8] compared with 0 three times
|
|
__thiscall bool GameState::read(void* reader, bool isVerifyChecksum); // RET 0x8 at 009cc27c (function ends 009ce5a0); ECX GameState (mov esi,ecx at 009cc1e1); [ebp+8] GameStateReader {file, path, version, checksum...} (callers 009ce5a0/00917fd0 build it on the stack, read via [0]->vtbl+0x14, checksum at +0xc); byte [ebp+0xc] 1 = reject on checksum mismatch, 0 from the rewind caller; returns 0/1
|
|
__thiscall void GridEntity_PressurePlate::Reward(); // plain RET (all exits); ECX = plate (reads _desc._variant/_spawnSeed/_gridIndex), no [ebp+8] reads
|
|
__thiscall void PlayerHUD::RenderPocketItems(Vector* pos, int playerHudLayout, float alpha, float scale<xmm3>); // RET 0xc; ECX PlayerHUD ([0]=player,[1]=HUD); [ebx+8] pos, [ebx+0xc] layout 0/1 (forwarded to RenderActiveItem), [ebx+0x10] alpha; xmm3 scale read at entry
|
|
__thiscall void Entity_Effect::Render(Vector* offset); // RET 0x4 at 0060aba8; matches REPENTOGON EntityEffect.zhl; [ebp+8] offset added to _renderPosition (param_2[0]/[1])
|
|
__thiscall void Entity_Laser::Render(Vector* offset); // RET 0x4 (only RET in body); vtable slot 5 like Entity::Render; [ebp+8] offset added to _renderPosition and every quad corner
|
|
__thiscall bool Room::SpawnEntry(unsigned int gridIndex, RoomEntry* entry, unsigned int seed, Entity** outEntity, bool isRespawn); // RET 0x14 (007ed57b); ECX room (passed to Room::TransformEntry, +4 descriptor); returns 0/1; Room::RespawnEnemies 0081fd60 passes &entity and 1, Room::Init passes 0,0
|
|
__thiscall void Backdrop::render_floor_to_target(int floorIndex, RNG* rng, void* target, int* targetRefCount, int* floorImage, int* floorImageRefCount, int* altFloorImage, int* altFloorImageRefCount); // RET 0x20 (00935f66); ECX backdrop (+0x150 type, +0x4f18.. floor rect); three by-value shared_ptrs (ptr, control block) released at exit
|
|
__thiscall void Backdrop::RenderWalls(Vector* renderOffset, ColorMod color); // RET 0x30 = 4 + 0x2c (all 4 exits); ECX this -> ESI ([esi+0x2c] water gfx, [esi+0x150] backdrop id), [ebp+8] offset forwarded to RenderWater; REPENTOGON decl lacks __thiscall
|
|
__thiscall void Entity_Familiar::Kill(EntityRef* source); // RET 0x4 at 0061219a, [ebx+8] never read (builds its own EntityRef for Entity::Kill); ECX familiar (vtable slot 9)
|
|
__thiscall void Menu_Bestiary::Render(); // plain RET at 008c8756, no [ebx+8..] reads; ECX = MenuManager+0xd4d0 (reads +0/+4 position, +0x111 flag)
|
|
__thiscall void Entity_Laser::update_line_hits(); // plain RET at 0097368d, no [ebx+8..] reads; ECX laser (_sampleLaser, _angleDegrees, _homingLaser); xmm1 spill at 00971851 is not a real arg
|
|
__thiscall void Entity_Laser::impact_tear_flag_effects(Vector* position, Vector* direction); // RET 0x8 at 0096edef (only RET before 0096ee00); [ebp+8] impact position (copied to a local, BombDamage/chain lightning/clamp), [ebp+0xc] read as two floats x/y scaled by 4/10 for the split-tear origin; caller UpdateHits 0097baa0 passes &_impactPosition, &_impactDirection
|
|
__thiscall void Entity_Pickup::Init(int type, int variant, int subtype, unsigned int seed); // RET 0x10 (006e1626); [ebp+0xc] variant compared to 100/150/300, &[ebp+0x10] subtype passed to Pickup_PickVariant, [ebp+0x14] seed
|
|
__thiscall void Entity_Player::tainted_cain_pedestal_burst(Vector* position, int unused, unsigned int seed, int poolType); // RET 0x10; callers push -1 (room pool) or isGreed<<4, seed from RNG::Next, a garbage ecx, &_pos; mov ecx,player
|
|
__thiscall void Entity_Player::update_baby_skin_effects(); // plain RET; ECX player (in_ECX->_babySkin, _dead), no stack args read
|
|
__thiscall bool Entity_Slot::HandleCollision(Entity* collider, bool isLow); // RET 0x8 (0066338a, 00663a63); vtable slot 23; [ebp+8] collider (type 1 player checks, +0x13c0 player type), returns al
|
|
__thiscall void Level::load_room(); // plain RET (0073f60e); ECX level/game (in_ECX->_currentRoomIdx, _enterDoor), no stack args read
|
|
__thiscall void Room::update_ambient_sounds(); // plain RET (00801c4c), no stack args; mov esi,ecx (Room: +0x125c entity list, +0x7084.. smoothed volumes); caller Room::Update
|
|
__thiscall void Menu_Collection::Render(); // plain RET (00950235), no [ebx+8] reads; ECX = MenuManager+0x27b8 (_menuCollection byte block, so this stays untyped); caller MenuManager::Render
|
|
__thiscall bool GameStatePlayer::read(void* reader); // RET 0x4 at the shared epilogue 009d459a (xor al,al; Ghidra split the tail into FUN_009d16ee/FUN_009d2656, the plain RETs are EH funclets); ECX = player state (mov esi,ecx), [ebx+8] reader {+0 stream, +8 save version, +0xc Checksum}; callers in GameState::read: push esi; mov ecx,..; call; test al,al
|
|
__thiscall void Entity_Player::Render(Vector* offset, bool isMainPass); // RET 0x8 (78c98f); called from 0078ca00 (slot 5 Render) with push 0 then push 1, and recursively for _backupPlayer; the bool gates netplay outline, held sprite and name tag
|
|
__thiscall void Menu_Options::Render(); // plain RET at 009b4793; ECX = options menu (mov edi,ecx), no [ebp+8] reads
|
|
__cdecl void Gamepad_processEvents(); // plain RET at 00a6eedf; no ECX/EDX/[ebp+8] reads (libstem_gamepad Windows backend: DirectInput DIJOYSTATE2 poll + XInput)
|
|
__thiscall void Menu_OnlineLobby::Render(); // plain RET at 008e9a14; aligned frame (ebx), no [ebx+8..] reads; ECX lobby menu (+0x10 sprite, +0x40 anim state)
|
|
__fastcall void NpcHelper::ChampionDrop(Entity_NPC* npc); // plain RET (6bf45d..6c0447), ECX only (mov edi,ecx; EDX unread); body reads _championColorIdx, _dropRNG, _pos of ECX
|
|
__thiscall void Menu_SpecialSeeds::Render(); // plain RET at 008f19da, no [ebp+8..] reads; ECX = menu (+0x1c ANM2, +0x160 entry vector stride 0x28, +0xc cursor); caller MenuManager::Render 0098a040
|
|
__thiscall void Backdrop::render_wall_detail(RNG* rng, Vector* position, bool isFlipX, bool isFlipY, bool isHorizontal, bool isVertical, float chance); // RET 0x1c (0093d952); ECX backdrop (ANM2 +0x4f3c); caller Backdrop::pre_render_walls; byte 3/4 negate the null offsets x/y and are stored at +0x503c/+0x503d, byte 5/6 enable layers named h*/v*, float = visibility chance (forced 1/0 for backdrop 0x2a)
|
|
__thiscall void Menu_Character::LoadGraphics(); // plain RET (00948faf); ECX this, caller MenuManager::LoadGraphics 00988f1a lea ecx,[edi+0x1534]; in_ECX reads are Menu_Character sprite fields, no stack args
|
|
__thiscall bool PersistentGameData::read(void* stream); // RET 0x4 (00927cd0); mov [ebp-0x24],ecx at entry (this, read as local_28), [ebp+8] stream (vtable +0xc seek, +0x10 eof, +0x14 read); returns 0 on bad header/checksum, 1 after the chunk loop
|
|
__thiscall void Backdrop::RenderWater(Vector* renderOffset); // RET 0x4 (at 009426a8); ECX this: [ecx+0x150] backdrop id, [ecx+0x2c] water gfx vtable +0x14 draw; [ebp+8] offset (called from RenderWalls)
|
|
__thiscall void Weapon_Ludovico::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a07d43 (only RET before Weapon_MonstrosLung::Fire); ECX weapon (in_ECX, ->_owner), [ebp+8..0x10] forwarded unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Brimstone::Fire
|
|
__thiscall void Level::GenerateHome(); // plain RET at 007523c8 (only RET); ECX this saved to [ebp-0x42c], reads [ecx+0x1830c] _currentDimensionIdx and writes _currentRoomMap; no stack args
|
|
__thiscall void Menu_Save::Render(); // plain RET at 009daa96 (only RET); ECX this -> ESI ([esi+0x10]/[esi+0x14] offset added to MenuManager +0x44/+0x48, ANM2 at this+0x18); no stack args
|
|
__thiscall void Entity_Familiar::apply_tear_flag_effects(BitSet128* tearFlags, unsigned int* effectFlags, Entity* target); // RET 0xc at 0064a2be; ECX familiar ([ecx+0x?] _extraData cast to AbyssLocustData); [ebp+8] tear flags ANDed with masks, [ebp+0xc] dword of effect bits (1 bomb,8 devolve,0x10 use item 0x23,0x20 erase,0x80 shockwave,0x100 maw,0x400 fart,0x800 butter bean,0x1000 brimstone), [ebp+0x10] target entity
|
|
__thiscall Entity_Tear* Entity_Familiar::fire_wisp_projectile(Vector velocity); // RET 0x8; only caller 0063acc2 FireProjectile: push [esp+0x40] twice (vel.y, vel.x), mov ecx,edi (familiar); ToCardinal/Normalized take &velocity
|
|
__thiscall void GameOver::RenderItemSprite(int memberIndex); // RET 0x4 (REPENTOGON 5-arg decl does not fit); only caller Menu_OnlineLobby::Render 008e8e91: push esi (slot 0..3 loop); mov ecx,edi; the body is a lobby member slot render (lobby_member_sprite_get/lobby_get_member_info), not an item sprite
|
|
static cleanup void ItemConfig::load_locust(void* xmlNode<edx>, void* locustEntry); // plain RET, caller 0072c858 push eax (entry = base + n*0xb8 - 0xb8); add esp,4; EDX = node (attributes at +0x20), ECX never read
|
|
__thiscall bool RoomConfig::LoadStagesXml(char* path); // RET 0x4; ECX saved at [ebp-0x10190] on entry; [ebp+8] -> FileSystem::Open; returns 0 when the file is missing, 1 after parsing <stages>
|
|
__thiscall void Level::generate_home(); // plain RET; ECX = Level/Game (+0x182d4 _generationRNG), no stack args; reads ECX before any call
|
|
__thiscall void Entity_Effect::update_mr_me(); // plain RET; ECX = Mr. ME effect (this->_state/_parent/_target read first), no stack args
|
|
__thiscall void HUD::render_streak_texts(); // plain RET; ECX = HUD (field_0x3ce4/_messageStack read), no stack args
|
|
__stdcall unsigned int* Entity_Player::CalculateBagOfCraftingOutput(unsigned int* output, uint8_t* bagContent, bool unused); // RET 0xc (at 007da75a); only [ebx+8]/[ebx+0xc] read; caller bag_of_crafting_collect 007d5720 pushes ecx (unused), &player+0x1f44 (8 pickup bytes), &out; out = {collectible, pool}, returned
|
|
__cdecl void Entity_NPC::Render(Entity* timer); // MISNAMED (ZHL prefix33/34; the real Entity_NPC::Render is 006d2e50 by vtable): Entity_Effect::CreateTimer callback, ENTITY_SINGE_body 0058d128 mov ecx,0x58a010; mov edx,2; push 0; push 1; plain RET at 0058ab5d, ECX never read, [ebp+8] = timer effect (rings of pits around its pos, ring count at +0x450)
|
|
__thiscall void Manager::load_configs(); // plain RET at 00953f02, no stack args; ECX this (in_ECX + 0x29fbc Music, +0x20dd0 Cutscene, +0x2a404 ItemConfig ...)
|
|
__thiscall void Menu_Save::Update(); // plain RET at 009da6b2, no stack args; ECX this saved to edi (state at +0, selected slot at +4)
|
|
__thiscall void PauseScreen_MyStuff::Init(); // plain RET at 008d324c, no stack args; ECX this (+0x304 PauseScreen_MyStuff.anm2, +0x418 Death Screen.anm2, +0x52c charge icons)
|
|
__thiscall void GameOver::Show(); // plain RET at 0099a2a4, no stack args; ECX this (Game+0x1d520) saved to esi at 009997eb; REPENTOGON declares the same but the dump shows no prototype: comment, so it was not applied
|
|
__thiscall void Room::SpawnGreedModeWave(bool unusedBool); // RET 0x4 (at 008177c2); ZHL exact sig, ECX room
|
|
__thiscall bool Room::TrySpawnDevilRoomDoor(bool isAnimate, bool isForce); // RET 0x8 (at 007f8506); Lua Room:TrySpawnDevilRoomDoor(Animate, Force): [ebp+0xc] skips CanSpawnDevilRoom/chance roll, [ebp+8] spawns dust + sounds; ECX room (spilled)
|
|
__thiscall void Room::render_darkness_overlay(); // plain RET (at 00826ad8); ECX spilled to [ebp-0x3c] and read as the room (+4 descriptor, +0xc/+0x10 grid size, +0x1204 render offset); caller FUN_0080ea80 mov ecx,edi
|
|
__thiscall void Menu_Character::handle_input(); // plain RET (at 0094d01e); ECX read as the Menu_Character (Status, SelectedCharacterID, _seedText)
|
|
__thiscall bool GameState::read_player(void* unused, void* player, void* stream); // RET 0xc (at 009cc0bc); [ebp+8] only used as scratch, [ebp+0xc] GameStatePlayer record filled field by field, [ebp+0x10] GameStateIO stream (vtable+0x14 read, +0xc checksum); returns 0 on save-file error
|
|
__thiscall void Game::add_players(int* users, unsigned int flags); // RET 0x8; ECX game (+0x1bb88 game start seed); [ebp+8] vector of 0x14-byte user entries; caller 0090de8c push 4; push &vector; mov ecx,[g_game]
|
|
__thiscall void Menu_Options::Update(); // plain RET (9b2591); ECX = MenuManager+0xcecc or +0xeb50 (MenuManager::Update 989e26: lea ecx,[edi+0xcecc]), no stack args
|
|
__thiscall void Manager::update_controller_popups(); // plain RET (95b4e4); ECX manager (Manager::Update 954f82: mov ecx,edi), reads this+0x4abc8/+0x4abcc popup ids
|
|
__thiscall void Menu_OnlineLobbyList::Update(); // plain RET (8dce8c); ECX = MenuManager+0xe648 (MenuManager::Update 989e96), no stack args
|
|
__thiscall void Entity_Effect::setup_loot_preview(void* lootQueue); // RET 0x4 (60c33e); CreateLootPreview 60b801: mov ecx,effect; push ebx; deque of 0x14-byte loot entries (+4 map, +8 mapSize, +0xc offset, +0x10 size)
|
|
__thiscall void StageTransition::Update(); // plain RET at 0092ffa3; ECX = Game+0x1ba78 (state dword at [ecx], frame counter [ecx+4], duration [ecx+8], transition type [ecx+0x10])
|
|
__thiscall bool Entity_Slot::TakeDamage(float damage, unsigned long long damageFlags, EntityRef* source, int damageCountdown); // RET 0x14 at 006645cf/006648ae/0066535f; vtable slot 8 like Entity::TakeDamage; flags low dword tested &4 (explosion), returns 0/1
|
|
__thiscall void Weapon_UrnOfSouls::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0f3e6; Weapon_UrnOfSouls vftable slot 3, calls Weapon::Fire(this, direction, isShooting, isInterpolated) first; byte arg 3 != 0 returns before the charge logic
|
|
__thiscall void Entity_Player::update_ladder(); // plain RET at 007a002f; ECX = player (HasCollectible(ecx,60), field 0x1424 ladder effect), no stack args
|
|
__thiscall void Room::card_against_humanity_fill(); // plain RET at 007febf7; ECX = room (clears +0x11f4, reads grid width/height at +0xc/+0x10), no stack args
|
|
__fastcall void NpcHelper::delirium_fire_pattern(Entity_NPC* npc); // plain RET at 004a9826; mov edi,ecx at entry, EDX written before read, no stack args; reads npc _deliriumAttackID/_deliriumAttackAngle
|
|
__thiscall int Entity_Player::reroll_collectibles_on_damage(RNG* rng, bool isIncludeActives); // RET 0x8 at 005c92e3; REPENTOGON Entity_Player::RerollAllCollectibles(RNG*, bool includeActives) shape (here [ebp+8] is never read: it rolls the player D4 collectible RNG at _collectibleRNGs+0x11c0); byte [ebp+0xc] lets active slots 0/1 and Book of Virtues be rerolled; returns the rerolled count; callers UseActiveItem (D4) and TakeDamage (Tainted Eden)
|
|
__thiscall void Entity_Pickup::GetLootList(Vector* renderOffset); // RET 0x4 (at 00584130); misnamed by ZHL sig: renders the pickup sprite as textured quads along its Scourge-chain children (909.10); only caller 00589de0 passes its Vector* render offset
|
|
__thiscall void Level::generate_random_layout(); // plain RET (at 00751239); ECX = Level (mov edi,ecx; RNG at +0x182d4), no [ebp+8..] read
|
|
__thiscall void Menu_KeyConfig::Render(); // plain RET (at 008da02c); aligned frame reads no [ebx+8..]; ECX = Manager+0xd284 menu (+0x14 ANM2, +0x11d/+0x84 flags)
|
|
__thiscall void PauseScreen::Update(); // plain RET (at 009b5dc7/009b64c6/009b671c); aligned frame reads no [ebx+8..]; ECX = PauseScreen (Game+_pauseScreen)
|
|
__thiscall bool Entity_Laser::RenderShadowLayer(Vector* offset); // RET 0x4 at 0097e388; Entity_Laser vftable slot 6; [ebp+8] offset read as x/y (param_2[0]/[1]) added to the shadow quad corners, every exit returns 1
|
|
__thiscall void Weapon_SpiritSword::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0a6b8/00a0a6d2; Weapon_SpiritSword vftable slot 3, forwards [ebp+8..0x10] unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Brimstone::Fire; today the decompile has no this and reads in_ECX
|
|
__thiscall void Room::init_shop_item_slots(); // plain RET at 0081487f, no stack args; ECX room (this->_descriptor, _roomType, _shopLevel); called by Room::ShopRestockFull
|
|
__thiscall Vector* PlayerHUD::render_deathmatch_health_bar(Vector* outSize, Vector position); // RET 0xc at 0084ba04 = 4+8; ECX PlayerHUD (player at [0]); [ebp+8] out written 46,17 (or g_vectorZero) and returned in EAX; caller 00843df0 passes renderPos.x, renderPos.y by value
|
|
__fastcall void NpcHelper::delirium_morph_update(Entity_NPC* npc); // plain RET at 004aa405/004aa8c9, no stack args; ECX npc (mov edi,ecx, reads +0x380 health, +0xbe0 _deliriumCycleID), EDX written before read; called twice by NpcAI::ENTITY_DELIRIUM
|
|
__thiscall void Console::Update(); // plain RET at 0068bb97 (and the other early exits), no stack args; ECX console (in_ECX[0] state 0 closed/2 open, [2]/[3] scroll line/col, [7] input std_string, [0x42] cursor); called from the Manager update loop
|
|
__thiscall void Entity_Player::use_card_hagalaz(RNG* rng); // RET 0x4 (005b30ad); ECX player saved, [ebp+8] null-checked then *rng seed: null = card use (all grids destroyed, ItemOverlay), else 1 in 4 per grid/rock enemy
|
|
__stdcall int RoomClear_PickVariant(RNG* rng, bool isForcePickup); // RET 0x8 (007fb15b/007fb208/007fb21d); ECX never read, [ebp+8] RNG*, byte [ebp+0xc]; result in EAX (pickup variant, 0 = none); Room::SpawnClearAward passes 0, Room::spawn_options_alternative 1 (lifts a <=0.22 "nothing" roll)
|
|
__thiscall void Menu_KeyConfig::render_gamepad_layout(); // plain RET (008db06f); ECX this (menu: +0x14 ANM2, +0x48 anim data, +0x58 isPlaying, +4 selected row), no stack args; Menu_KeyConfig::Render calls it after mov ecx,this
|
|
__thiscall void GameOver::Render(); // plain RET (009997bb); ECX this (Game+0x1d520: [ecx] isVisible, +8 ANM2), no stack args; Game::Render 006fbc10 is the only caller
|
|
__thiscall void Weapon_Rockets::Fire(Vector* aimDirection, bool isShooting, bool isInterpolated); // RET 0xc at 00a09993; Weapon_Rockets vftable slot 3, ECX weapon (in_ECX), [ebp+8..0x10] forwarded unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Bone::Fire (param name avoids the decompiler local "direction")
|
|
__stdcall void NpcHelper::moms_heart_attack_pattern(Entity_NPC* npc<ecx>, int pattern, int stateFrame); // RET 0x8 (004d3ae9); ECX npc (GetPlayerTarget/FireProjectiles/_aiCounter), [ebp+8] pattern switch, [ebp+0xc] frame; callers 004d581d / 004d5e5f mov ecx,edi; push [edi+0x410]; cvttss2si eax,[edi+0xbb4] (v1.y); push eax
|
|
__thiscall void Menu_Online::render_descriptor(std_string* text); // RET 0x4 (008e5f2d); ECX menu (+0x234/+0x238 offset, +0x34 animState null "Descriptor Position"), [ebp+8] std::string split on \n and word-wrapped at width 0xa0; callers 008e4fa1 / 008e50e1 lea eax,[ebp-0x34]; mov ecx,esi; push eax
|
|
__thiscall void Menu_OnlineLobby::update_controls(); // plain RET at 008eb60d, no [ebp+8..] reads; ECX lobby menu (+0x694 member map, +0x6b8/+0x6bc ready, +0x6c0 password view, +0x94c selected member, +0x950 member action); caller 008e86c5 mov ecx,esi; call
|
|
__stdcall void HUD_Message::render_text_image(Font* font, unsigned short* text, float x<xmm3>, float y, KColor* color, int unused); // RET 0x14; aligned frame, args at [ebx+8..0x18]: font, wide text, movss y, KColor*, last dword never read; caller 008412ec movaps xmm3 = x; ECX zeroed before use
|
|
__stdcall void Game::rewind(Entity_Player* player); // RET 0x4; ECX never read (uses g_game), [ebp+8] null-checked player whose soul/blood charge is kept and who gets the Glowing Hourglass wisps back
|
|
__thiscall void Room::render_player_light(Entity_Player* player, Vector* offset); // RET 0x8; [ebp+8] player (type 1/9/0x328 branches), [ebp+0xc] float pair added to the render position
|
|
__thiscall void PlayerHUD::render_inventory(Vector* pos, float scale<xmm2>); // RET 0x4; ECX this (+0 player, +4 HUD), movss [ebp-0x80],xmm2 scale, [ebp+8] float pair slot origin
|
|
__stdcall void HUD::rebuild_player_item_icons(void* iconCaches<ecx>, unsigned int playerIdx, bool isRebuild); // RET 0x8; ECX = HUD+0x5c54 (HUD::PostUpdate 009a2b98 push 1; push esi; lea ecx,[ebx+0x5c54]), 0x14-byte entries indexed by playerIdx<2
|
|
__thiscall void Menu_KeyConfig::Update(); // plain RET; ECX = MenuManager+0xd284, no stack args
|
|
__thiscall void Menu_OnlineMode::update_mode_select(); // plain RET; ECX = MenuManager+0xedd8, no stack args
|
|
__fastcall void NpcHelper::gideon_choose_attack(Entity_NPC* npc); // plain RET (004b18fe/004b1ed9), mov edi,ecx at 004b124e, EDX zeroed before div, no [ebx+8..] reads; only caller NpcAI::ENTITY_GIDEON 004b23c5 mov ecx,edi
|
|
__cdecl void NpcHelper::hornfel_spawn_doors(); // plain RET at 004b78e5, no stack args; ECX/EDX written before read (ebx = g_game->_room); caller NpcHelper::hornfel_room_controller 004bc48d calls it with no pushes
|
|
__fastcall void NpcHelper::fireplace_moveable_update(Entity_NPC* npc); // plain RET at 006d1577, mov edi,ecx at entry (reads +0x2c variant), EDX loaded from [edi] vtable before use, no stack args; caller NpcAI::ENTITY_FIREPLACE 006d2b1f mov ecx,edi
|
|
__thiscall void Game::restore_game_state(GameState* state, bool isContinue); // RET 0x8 at 006f8a30; mov esi,ecx (Game, decompiled as Level*), [ebp+8] state, byte [ebp+0xc] gates ItemPool/BossPool/PlayerManager init and the "[Continue, %d]" log; callers 00706349 push 0 (rewind) and 00959b1c push 1 (Manager::start_pending_game)
|
|
__fastcall unsigned int ItemConfig::parse_cache_flags(std_string* text); // plain RET at 00724721; mov esi,ecx then reads [esi+0x10]/[esi+0x14] (std::string size/capacity), EDX loaded before read, no stack args; callers ItemConfig::Load 007262a3 and playerforms_xml_load 0072e993 lea ecx,[local string]; returns OR of CacheFlag bits (0xffff for "all")
|
|
__thiscall bool Level::maze_swap_rooms(int roomIdx, int otherRoomIdx); // RET 0x8 (00749681/00749699); mov edi,ecx (Level), [ebp+8]/[ebp+0xc] each pushed to GetRoomByIdx(idx,-1); returns AL (0 when RoomConfig +0x46/+0x47 width/height differ); caller Level::ChangeRoom passes _roomList[i].SafeGridIndex and find_matching_room_idx result
|
|
__thiscall void Menu_Save::update_sprites(); // plain RET at 009dbda9; mov edi,ecx at 009db871 (reads [ecx]=state, +0x4 selected slot, sprites at +0x18/+0x48/+0x15c..), EDX loaded before read, no stack args; only caller Menu_Save::Update 009da4b1 mov ecx,edi
|
|
__thiscall void Entity_Effect::update_variant178_shooter(bool isPositionOnly); // RET 0x4 (at 0060b785); [ebx+8] byte: nonzero only snaps the effect 18px from parent at the eased angle, no anim/state update
|
|
__thiscall void* LevelGenerator::try_place_room(void* allowedIndices); // RET 0x4 (at 009aed3b); ECX generator (EDI), [ebp+8] std::set<int>* of allowed grid indices or null; returns the placed room entry (generator[0xd9] + idx*0x48) or null; caller Level::place_special_rooms
|
|
__fastcall void NpcHelper::siren_pick(Entity_NPC* npc); // plain RET (at 0058ec6e); ECX npc saved to [ebp-0x44] (the dump's uninitialised local_54: +0xb64 state, +0xba0 cooldown, +0x33c pos) and passed in ECX to siren_charmed_count; EDX zeroed before read; caller NpcAI::ENTITY_SIREN_main
|
|
__thiscall void Entity_Player::update_item_anims(int unused1, ItemConfig_Item* item, int unused2, std_string* animName, int frame, int unused3); // RET 0x18 (at 0075abce); reads only [ebp+0xc] item (to Weapon::is_held_item), [ebp+0x14] anim, [ebp+0x18] frame (<-1 set, -1 play, >=0 set frame); caller Weapon::UpdateHeadChargeAnimation pushes ecx(itemConfig), (int)charge, &anim, ecx, GetCollectible(), ecx
|
|
__thiscall void LevelGenerator::generate_rooms(unsigned int targetRoomCount, LevelGenerator_Room* startRoom); // RET 0x8 (at 009b0af6); ECX generator (EDI), [ebp+0xc] start room to place_room; caller LevelGenerator::Generate passes its first arg (room count) and startRoom
|
|
__thiscall void Level::generate_backwards(); // plain RET (at 00743519); ECX level (mov edi,ecx), no stack args; caller Level::Init 0x7453ab mov ecx,edi
|
|
__thiscall void Menu_OnlineLobby::render_player_slots(); // plain RET (at 008dc094); ECX lobby menu (mov esi,ecx), no stack or EDX reads; caller Menu_OnlineLobby::Render
|
|
__thiscall void Entity_Player::trigger_book_of_belial_passive(int activeId, int charges); // RET 0x8 (5ca3e4); aligned frame via ebx: 0x8(%ebx) item id, 0xc(%ebx)==0 -> max(1,initCharge); caller passes _activeDesc[0]._item
|
|
__thiscall void PlayerManager::spawn_coop_baby_for_join(int unused, int controllerIndex); // RET 0x8 (9bdc57); aligned frame via ebx, only 0xc(%ebx) read -> SetControllerIndex; caller pushes -1 first
|
|
__thiscall void Room::on_leave(); // plain RET (7eff48); ECX Room: _shopRestockTimer, _descriptor, _gridEntities, _entityList
|
|
__thiscall bool Room::pick_special_clear_award(int* outCollectible, unsigned int* outTrinket, RNG* rng); // RET 0xc; zeroes *[ebp+8]/*[ebp+0xc], RNG* [ebp+0x10]; returns al = collectible or trinket chosen
|
|
__thiscall bool Room::spawn_grid_from_desc(unsigned int gridIndex, GridEntityDesc* outDesc, ANM2* outSprite); // RET 0xc; [ebp+8] index < 0x1c0, [ebp+0xc] desc copied out (8 dwords) if non-null, [ebp+0x10] sprite assigned if non-null; returns 1
|
|
__thiscall void Entity_Tear::fire_split_projectiles(bool isHalved); // RET 0x4; byte [ebp+8] != 0 halves the split count; Entity_Tear::Update pushes a local flag, eax unused after call
|
|
__thiscall void Weapon_MonstrosLung::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0810b/00a086e0/00a086ee; ECX weapon (in_ECX, ->_owner), [ebp+8..0x10] forwarded unchanged to Weapon::Fire first, same shape as Weapon_Ludovico::Fire
|
|
__thiscall bool Room::is_obstacle_path_valid(unsigned int startIndex, unsigned int goalIndex, unsigned int flags); // RET 0xc at 008226ca; ECX room (in_ECX: _gridWidth/_gridEntities), A* from [ebp+8] to [ebp+0xc] over 0x1c0 cells, [ebp+0x10] flag bits 1/2/4 (callers pass 0, 3, 7); al = path found
|
|
__thiscall void Manager::load_fonts(); // plain RET at 00951f5a; ECX manager (caller 0095471e mov esi,[g_manager] ... 0095473e mov ecx,esi), Font::Unload/Load at this+0x4ae28..0x4b088
|
|
__thiscall void Entity_Pickup::update_magnet_attraction(); // plain RET at 006edcf4; ECX pickup (in_ECX ->_variant/_price/_pos), Entity_Pickup::Update: mov ecx,edi; call 006ed690
|
|
__thiscall void Entity_Player::active_used_post(int slot, bool unk, int chargeBeforeUse); // RET 0xc; ECX player; [ebp+8] indexes _activeDesc, called from DischargeActiveItem(slot, _unk, old _activeDesc[slot] charge)
|
|
__thiscall bool ItemConfig::load_recipes_xml(char* path, void* modEntry); // RET 0x8 at 0072cfe5; ECX saved to [ebp-0x10080] and read at 0072ce82/0072cebe (+0x3c name->id map head) and 0072cef7, so not static; [ebp+8] path -> FileSystem::Open, [ebp+0xc] ModEntry (0 = vanilla); returns 1 after parsing, 0 when the file does not open
|
|
__thiscall void EntityList::rebuild_sublists(); // plain RET at 0041a78c, no [ebp+8..] reads; ECX -> ESI = EntityList: [+0..+0x1c] the 8 CellSpace sublists cleared by FUN_0041baf0, _updateEL data +0x44 / size +0x4c; caller EntityList::Update 004186c0 (mov ecx,edi)
|
|
__thiscall void Entity_Player::console_spawn(int* spawnSpec, bool isAddWisp); // RET 0x8 (at 005cb38d); ECX player; [ebp+8] -> {type, variant, subtype, count} (switch on spec[0], count loop on spec[3]); byte [ebp+0xc] gates the Book of Virtues AddWisp; callers: console "delirious boss" command 0068cdc0
|
|
__thiscall void Entity_Player::trigger_npc_death(Entity* npc); // RET 0x4 (at 007a095c); ECX player; [ebp+8] killed entity, dynamic_cast to Entity_NPC for bestiary/score
|
|
__fastcall void NpcHelper::hornfel_minecart(Entity_NPC* npc); // plain RET (at 004b8a23); ECX = Hornfel npc (state +0xb64, +0xbec target), EDX written before read; eax at exits is leftover (no real return value); caller Entity_NPC::Hornfel_UpdateAI
|
|
__thiscall LootList* Entity_NPC::shopkeeper_get_loot(LootList* outLoot, bool isShouldAdvance); // RET 0x8 (at 006c20c3); ECX npc; [ebp+8] out LootList returned; byte [ebp+0xc] selects _dropRNG itself vs a local copy (REPENTOGON: bool ShouldAdvance)
|
|
__thiscall bool ItemConfig::load_metadata_xml(char* path, void* modEntry); // RET 0x8 (at 00728cbd); ECX ItemConfig (collectible vector [0]/[1], trinkets [3]/[4]), [ebp+8] path -> FileSystem::Open, [ebp+0xc] mod (+0xec id map when non-null); returns 0 if the file cannot be opened, else 1; same shape as load_wisps_xml
|
|
__thiscall void Entity_Laser::find_nearest_grid_hit(int unusedFlag, Vector* offset); // RET 0x8 (at 00971586); ECX laser; [ebx+8] never read (only caller 009737b0 pushes 1); [ebx+0xc] Vector* added to every sample / grid position
|
|
__thiscall void Menu_OnlineLobbyList::request_lobby_list(); // plain RET (at 008e18ac); ECX this (+0x4d0 mode, +0x4d4/+0x4da filter toggles), no stack args; caller Menu_OnlineLobbyList::reset mov ecx,ebx
|
|
__thiscall void Entity_Player::update_mini_mush_costume(); // plain RET (at 005cb9a4); ECX player (temporary effects, costume descs), no stack args
|
|
__thiscall void Entity_Player::update_footprints(); // plain RET (at 007b98bb); ECX player (_footprintColor1/2, _velocity), no stack args
|
|
__thiscall void Backdrop::PreRenderControls(); // plain RET (at 00935003); ECX backdrop (+0x150 type, +0x4f18 bounds, +0x5050 "Controls" ANM2), no stack args
|
|
__thiscall Vector* Entity_Player::GetCostumeNullPos(Vector* outPosition, std_string* nullFrameName, bool isHeadScale, Vector* direction); // RET 0x10 (0075b52f); eax = [ebp-0xa0] out written last; Lua EntityPlayer:GetCostumeNullPos(NullFrameName, HeadScale, Direction); direction picks HeadDown/Up/Left/Right
|
|
__thiscall void Entity_Slot::Init(int type, int variant, int subType, unsigned int seed); // RET 0x10 (0065d8d9); vtable slot 1, forwards [ebp+8..0x14] to Entity::Init (variant 2 -> 5 in hard/greedier)
|
|
__thiscall void PersistentGameData::write(); // plain RET (00928ed8); mov edi,ecx, writes sections through [ecx+4] stream vtable +0x1c
|
|
__thiscall void Entity_Familiar::ai_lil_gurdy(); // plain RET (0062f7e0); mov edi,ecx only, no EDX/stack args
|
|
__thiscall void Menu_DailyChallenge::Update(); // plain RET (008cf73f, 008cfd29); mov edi,ecx, no stack args; MenuManager::Update case 4
|
|
__thiscall void Game::NextVictoryLap(); // plain RET (006f80fd); mov edi,ecx, no stack args; Lua Game:NextVictoryLap (ECX is Game, which the dump currently types as Level)
|
|
__thiscall void Entity_Player::twins_duplicate_familiars(int count); // RET 0x4 (at 007dc2c0); ECX player, [ebp+8] number of familiar copies, returns early when < 1
|
|
__thiscall void Entity_Familiar::ai_boiled_baby(); // plain RET (at 00640eab); ECX familiar, no stack args
|
|
__thiscall void Menu_OnlineLobby::render_lobby_list(); // plain RET (at 008df381); ECX lobby menu (+0x38 anim state, +0x35c/+0x360 lobby vector of 0x18-byte entries), no stack args
|
|
__thiscall void Menu_Character::render_portraits(Vector* position, Vector* offset, Vector* scale); // RET 0xc (at 0094c496); ECX menu, [ebp+8..0x10] three Vector*: pos = scale*entryPos + position + offset; callers pass (&basePos,&renderPos,entry+0x18) and (pos,&g_vectorZero,&g_vectorOne)
|
|
__stdcall void NpcHelper::clutch_render(Entity_NPC* npc<ecx>, Vector* offset); // RET 0x4 (at 00575fd6); ECX Clutch npc (variant, sprite, chain deque +0xc04..), [ebp+8] render offset forwarded to Entity::Render
|
|
__stdcall void GameState::read_record(unsigned int* record<ecx>, int* stream); // RET 0x4 (at 009d77d9); ECX record (dwords 0..5, 12-byte vectors at +0x18/+0x24/+0x38/+0x44), [ebp+8] stream: [0] reader vtable (+0x14 read), [2] save version, [3..] Checksum
|
|
__thiscall void Entity_Player::coop_baby_death_effect(); // plain RET (13 exits in 007bb5e0..007bbbc7); ECX co-op baby player (_babySkin switch), no stack args; EAX is leftover, not a result
|
|
static cleanup void Entity::DestroyRockGridAt(Vector* position<ecx>, GridEntityDesc* desc<edx>, Entity* source, int backdropType); // plain RET (at 0070c53e); callers 00656029/00668441: lea ecx,[ent+0x33c]; edx = desc; push arg; push ent; call; add esp,8. desc->_type/_variant switch (rock/bomb rock/poop), last arg forwarded as GridEntity_Rock::SpawnDrops backdropType and PlayBreakSound
|
|
__thiscall bool Entity_Player::replace_trinket(int unused0, int unused1, int unused2); // RET 0xc (at 007729be) but [ebp+8..0x10] never read; only caller 006ecae1 does sub esp,0xc (nothing stored); mov ecx,player; returns 1 when golden Store Credit (0x800d) was swapped for 0xd, else 0
|
|
__stdcall void Game::StartFromRerunState(GameState* state); // RET 0x4 (at 006f7741); ECX never read (uses g_game); caller 00959c17 push esi; call with no ECX setup
|
|
__fastcall void NpcHelper::raglich_slam_spawn_grid(Entity_NPC* npc); // plain RET (at 005769a6); ECX Raglich arm npc (_state 0/3, _i1, _targetPosition), EDX unread; caller 005769f9 mov edi,ecx ... call
|
|
__stdcall void NpcHelper::the_lamb_pattern(Entity_NPC* npc<ecx>, int pattern, int frame); // RET 0x8 (at 00483702); ECX The Lamb npc, [ebp+8] pattern 0..9 switch, [ebp+0xc] frame counter (fires on frame%3/%8/%22/%13/%10)
|
|
__fastcall void NpcHelper::hornfel_attack(Entity_NPC* npc); // plain RET at 004b90d4, no [ebx+8] reads, EDX written before read; caller 004b97b9 mov ecx,edi (npc) with no pushes
|
|
__stdcall Entity* NpcHelper::horny_boys_spawn_bomb(Entity_NPC* npc<ecx>, int slot); // RET 0x4 (004bcfc8); [ebx+8] slot indexes npc deque +0xbf4; callers 004bd4bb push 0 / 004bdc4f push esi; mov ecx,edi; returns the bomb
|
|
static cleanup Entity* NpcHelper::scourge_spawn_chain(Vector* position<ecx>, Vector* velocity<edx>, char kind, Entity* parent, Vector* targetV1); // plain RET (00582f5e); caller 005882c2: push &v1; push edi (npc); push 0; lea edx,[vel]; lea ecx,[edi+0x33c]; [ebp+0x10] -> link +0xbb0/+0xbb4, [ebp+0xc] -> +0x3bc parent, byte [ebp+8] picks the anim
|
|
__stdcall void FamiliarAI::lil_haunt(Entity_Familiar* familiar<ecx>, int unused); // RET 0x4 (0061d6a5) but [ebx+8] never read; caller 00620bad push 0; mov ecx,edi
|
|
__thiscall void Entity_NPC::update_blood_guide_gibs(float* nullFrame); // RET 0x4 (006d7ce4); [ebp+8] null-frame data (null -> GetNullFrame("BloodGuide")); callers 00480aef push 0 / 006c6148 push eax; mov ecx,edi
|
|
__thiscall bool Room::TrySpawnSecretExit(bool isAnimate, bool isForce); // RET 0x8 (007f7bd5/7f817c/7f8189); byte [ebx+8] spawns the dust effects, byte [ebx+0xc] skips the stage checks; callers 0073ed33 push 0; push 0 / 008069c9 push 0; push 1
|
|
__thiscall void PauseScreen::update_items_menu_selection(); // plain RET at 008d8863, no stack reads; caller 008d34a4 mov ecx,edi
|
|
__thiscall void Menu_SpecialSeeds::Update(); // plain RET at 008f06d3; mov ebx,ecx at 008f01c5, no stack reads; caller MenuManager::Update 00989dd6 lea ecx,[edi+0x251c]
|
|
__thiscall void PauseScreen::Init(); // plain RET at 009b5cad, no [ebx+8] reads; callers 006f4024 / 006f4cb3 lea ecx,[edi+0x23a74]
|
|
__thiscall void Game::StartDailyChallenge(DailyChallenge* daily); // RET 0x4 (006f72e9) = REPENTOGON decl; [ebp+8] daily: +0 id, +4 seed, +0x80 difficulty, +0x54 player type, +0xa8/+0xac seed effects vector
|
|
__thiscall void Entity_Knife::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10 (009611a7); forwards all four to Entity::Init (vtable slot 1)
|
|
__thiscall void Entity_Tear::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10 (006666bb); forwards all four to Entity::Init (vtable slot 1)
|
|
__stdcall bool Game::DevolveEnemy(Entity* entity, Entity** outEntity); // RET 0x8 (00705677/7057f1/7059df); ECX never read (callers load g_game anyway); [ebp+0xc] null-checked out pointer gets the spawned entity; returns 1 on devolve
|
|
__stdcall void Entity_Pickup::RestoreState(Room* room<ecx>, Entity_Pickup* entity, void* saveState); // RET 0x8 (007ef697..); ECX is the Room (FindFreePickupSpawnPosition, +0x7764), [ebp+8] entity, [ebp+0xc] saved entity data; caller 007f008d push edi; push eax; mov ecx,ebx (room)
|
|
__thiscall void Entity_Bomb::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10 (at 006a24bd); vtable slot 1, forwards all four stack args to Entity::Init first
|
|
__thiscall void GameOver::render_collectible_icon(int collectibleId, Vector* position, ColorMod* color, Vector* scale, int* blendMode); // RET 0x14 (0099a823); ECX GameOver (Game+0x1d520); [ebp+8] id < 0x2dd (negative = procedural item, cropped from the item sheet), pos -> Sprite::RenderLayer(6), scale -> layer 6 _size, color -> layer _color, 5 dwords -> layer _blendMode
|
|
__stdcall bool GameState::read_item_pool(int* poolState<ecx>, void* reader); // RET 0x4 (009cec66); ECX = GameState+0x1e3cc (pool vectors of 3 dwords, not the GameState itself, so not __thiscall), [ebp+8] GameStateReader {+0 stream, +8 save version, +0xc Checksum}; returns 1, 0 when a count exceeds ItemConfig
|
|
__thiscall void Menu_Bestiary::update_cursor(); // plain RET (008c8b0d); ECX menu (only caller Menu_Bestiary::Update 008c64e0, no pushes); eax result unused by the caller
|
|
__thiscall void Entity_Player::AnimateCard(int cardId, char* animName); // RET 0x8 (007abaf2); [ebp+8] card id (> 0x61: ItemConfig card +0x6c custom anm2, else ui_cardspills.anm2 "CardFronts" frame = id, then EntityConfig(5,300,card+0x54)), [ebp+0xc] -> PlayExtraAnimation; same shape as AnimatePill
|
|
__fastcall void NpcHelper::leper_flesh_ai(Entity_NPC* npc); // plain RET (00548f24), no stack args; mov edi,ecx at 00548748 (reads +0xb64 _state), EDX first written at 0054893d; called from NpcAI::ENTITY_LEPER with ECX = npc
|
|
__thiscall void Entity_Player::RemoveCurseMistEffect(); // plain RET (007d9174), no stack args; ECX player (reads _hasCurseMistEffect, recurses into _backupPlayer with the same ECX shape); Lua EntityPlayer:RemoveCurseMistEffect
|
|
__thiscall void Entity_Player::play_null_costume_anim(int nullItemId, int unused, std_string* animName, int frame, int unused2); // RET 0x14 (0075a6f7); [ebp+8] null item id, [ebp+0xc] and [ebp+0x18] never read, [ebx=ebp+0x10] std::string anim (+0x10 size, +0x14 capacity), [ebp+0x14] cmp -1 (< -1: plain SetAnimation, else restart if not already playing); caller 529428 pushes (0x75, 0, &anim, -1, 0)
|
|
__thiscall void Room::RespawnEnemies(); // plain RET (0082016d), no stack args; ECX room (+4 RoomDescriptor, +0xc grid width, +0x125c/+0x1264 entity list, +0x724 doors); Lua Room:RespawnEnemies
|
|
__thiscall void Entity_Player::preload_item_sounds(); // plain RET (007c40d0), no stack args; ECX player (HasCollectible/HasTrinket on it, reads +0x13f1..+0x13f3 and _activeDesc/_pocketSlots); once from Entity_Player::room_enter
|
|
__thiscall bool Game::RerollEnemy(Entity_NPC* npc, bool isIgnoreHealthMatch); // RET 0x8 (00705475); ECX game spilled at 007050fb and used as Spawn this; [ebp+8] npc (CanReroll, health fraction kept), byte [ebp+0xc] != 0 takes every pool entry, 0 keeps only entries whose base+stage HP is within 5 of the npc config; returns 1 when rerolled
|
|
__thiscall void Entity_Player::render_charge_bars(Vector* renderPos); // RET 0x4 (0075ef0e); [ebp+8] screen position (x,y floats read as param[0]/param[1] plus per-bar offsets); ECX player; from Entity_Player::Render
|
|
__thiscall void Entity_Player::~Entity_Player(); // plain RET (0075546a), no stack args; ECX player (stores Entity_Player::vftable at [ecx], ends in Entity::destructor(ecx)); the dump types ECX as Entity, so every member shows as in_ECX[7]._x
|
|
__thiscall bool PlayerManager::replace_player(Entity_Player* oldPlayer, Entity_Player* newPlayer); // RET 0x8 at 009befe4; ECX = players vector, returns 1 when swapped (caller 007ac7e0 ignores EAX)
|
|
__fastcall void FamiliarHelper::fly_head_pathfind_move(Entity_Familiar* familiar); // plain RET (63d6a0, 63dd53); ECX -> esi familiar (+0x3c4 target EntityPtr, +0x410 player), EDX written before read, no stack args; caller 0063c1c0
|
|
__thiscall void Entity_Player::pocket_use_input(); // plain RET (7a3ed1, 7a42aa); ECX -> edi player, no stack args; caller Entity_Player::Update
|
|
__thiscall void PauseScreen::update_pocket_item_display(); // plain RET (8d44cf); ECX -> esi PauseScreen, EDX written before read, no stack args; caller PauseScreen::update_items_menu
|
|
__thiscall void Room::render_water_shader(Vector* renderOffset); // RET 0x4 at 00821f90; ECX room -> esi, [ebp+8] offset added to each quad pos; caller Room::Render 0080fcd6 lea eax,[local]; push eax; mov ecx,esi
|
|
__thiscall void PauseScreen::build_player_user_list(); // plain RET (8d1d15); ECX PauseScreen saved at [ebp-0x18], +0x22c u64 vector; no stack args; caller PauseScreen::update_player_info_page
|
|
__thiscall void Room::update_water_current(); // plain RET (8253d3); ECX room -> edi, no stack args (Ghidra in_AL comes from lahf after ucomiss); caller Room::Update
|
|
__thiscall bool Entity::TakeDamage(float damage, unsigned long long damageFlags, EntityRef* source, int damageCountdown); // RET 0x14 at 006ad141/006ad339; ZHL exact sig shape; flags low dword [ebp+0xc] tested &2/&0x40/&0x2000, [ebp+0x14] source null-checked, [ebp+0x18] -> _damageCountdown; returns 0/1
|
|
__thiscall bool Entity_Familiar::break_grid_ahead(); // plain RET (64a71c, 64a733); ECX familiar, no stack args; returns AL 0/1; only caller FamiliarAI::apollyons_best_friend
|
|
__thiscall void Menu_OnlineLobby::update_force_restart(); // plain RET at 008ead03; mov esi,ecx then reads this+0x6a8/0x6ac/0x6b0/0x6c1/0x954 lobby fields; caller Menu_OnlineLobby::Update
|
|
__thiscall bool PersistentGameData::import_afterbirth_save(void* stream); // RET 0x4 at 0092bd16; [ebp+8] stream object (vtable +0xc seek(0,0), passed to AfterbirthPersistentGameData::check_header); returns 0/1 in al
|
|
__thiscall void Menu_OnlineLobbyList::load_graphics(); // plain RET at 008dce0e; mov esi,ecx then ANM2::Load on this+8/+0x11c/+0x38c; caller MenuManager::LoadGraphics
|
|
__thiscall void Menu_OnlineLobbyList::update_password_entry(); // plain RET at 008deabf; ECX saved to [ebp-0x14], used as this+0x344/+0x500 and request_lobby_list callback arg; caller Menu_OnlineLobbyList::Update
|
|
__thiscall RoomConfig_Room* RoomConfig::MergeRoomsIntoGenerated(RoomConfig_Room* roomA, RoomConfig_Room* roomB, int shape); // RET 0xc at 0082d527; ECX RoomConfig (+0x1e20 merged list); rooms +0x40 spawns/+0x44 count/+0x48 type; shape indexes merge-rule table 00b1f494; returns new node+8 ("generated")
|
|
__thiscall void Room::update_bounds(bool isFromGridSize); // RET 0x4 at 007f23ff/007f27dc; byte [ebp+8] != 0 takes bounds straight from _gridWidth/_gridHeight (+shape table 00c35b80), else scans wall columns/rows; callers Room::Init, NpcAI::ENTITY_MOTHER
|
|
static cleanup void RoomConfig::ReadRoom(void* stage<ecx>, int roomIndex<edx>, int stageId, void* file); // plain RET at 0082b2dd, caller 0082ad5b pushes file, stageId then add esp,8; ECX stage (+0x18 rooms, 0x5c-byte RoomConfig_Room), EDX index; file vtable +0x14 = read(buf,size,count)
|
|
__thiscall void Weapon_TechX::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0e231/00a0e251; Weapon_TechX vftable slot 3, forwards [ebp+8..0x10] unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Brimstone::Fire; today the decompile has no this and reads in_ECX
|
|
__thiscall bool Entity_Player::try_end_astral_projection(); // plain RET (007d3dba, 007d3de7, 007d3dfe); ECX player only (in_ECX), returns 0 when no Astral Projection (0x2a5) effect, else 1
|
|
__thiscall void Entity_Laser::update_first_frame(); // plain RET (0097055e, 00970763, 00970caf); ECX laser only (in_ECX), no EDX/stack args
|
|
__thiscall Vector* Entity_Familiar::UpdateFollowPosition(Vector* outOffset); // RET 0x4 (006348c8, only RET); both paths load eax=[ebx+8] and write x/y through it (zero vector, or formation offset rotated by _formationAngle)
|
|
__stdcall void NpcHelper::UltraGreed_Smash(Entity_NPC* npc<ecx>, Vector position); // RET 0x8 (0059ed98, only RET); ECX npc (in_ECX: CreateGoldParticles, ->_state 700/0x10/0x2c6), by-value Vector [ebp+8]/[ebp+0xc] used as ¶m_1 for BombExplosionEffects/SpawnParticles and the room shockwave slot
|
|
__thiscall void* LevelGenerator::place_secret_room(void* excludedIndices); // RET 0x4 (009ae636, only RET); ECX generator (in_ECX: RNG at +0..+0xc, grid slots +0x14, rooms [0xd9]), [ebp+8] std::set<int>* whose members are skipped as cells; returns the placed room entry (generator[0xd9] + idx*0x48) or null, like try_place_room
|
|
__thiscall void Level::update_room_doors(RoomDescriptor* roomDesc); // RET 0x4 (0073e007, shared epilogue); ECX level (in_ECX->_roomMap/_roomList), [ebp+8] descriptor: [0] GridIndex, [3] dimension, [4] Data (+0x38 door mask, +0x46/+0x47/+0x48), [6] doors, [7..] neighbour indices
|
|
__thiscall void Room::remove_grid_entity_for_spawn(int* gridIndex); // RET 0x4 (007fa7c1, only RET); ECX room (in_ECX->_gridEntities/_gridWidth), [ebp+8] in/out grid index (rewritten from FindFreePickupSpawnPosition when the cell still collides)
|
|
__cdecl void NpcHelper::delirium_spawn_form_parts(Entity_NPC* npc<ecx>, float maxHealth<xmm1>); // plain RET (004a8b1b, 004a8b6d); entry mov edi,ecx + movss [ebp-0x1c],xmm1, no EDX/stack reads; caller 004a84f0 passes the freshly spawned form in ECX and its _maxHitPoints in xmm1 (copied to segment 1 health)
|
|
__thiscall void Menu_KeyConfig::update_gamepad_layout(); // plain RET (008da4e6, only RET); ECX this (in_ECX: +0 isWaitingForInput, +4 selected row, +8 column, +0x44 anim state), no stack args; Menu_KeyConfig::Update calls it like render_gamepad_layout
|
|
__thiscall void PlayerManager::init_random_unlocks(unsigned int seed); // RET 0x4 (009be06e, only RET); ECX player manager (in_ECX +0x70 vector, +0x90 picks, +0xa4 count), [ebp+8] RNG seed shifted 3/23/25 in place for the shuffle; caller PlayerManager::init_main_player
|
|
__thiscall void PlayerManager::restore_controller_assignment(); // plain RET (009bf923, only RET); ECX player manager (in_ECX[0..1] player vector, [3..0x15] coop slots reset), no stack args; caller Manager::start_pending_game after Game::restore_game_state
|
|
__thiscall void Camera::Update(bool isSnap); // RET 0x4 (009940e6, 0099411b); ECX object whose [0..1] focus point follows players_center_position (lerp 0.1 unless [ebp+8] != 0), layers vector at +0x18; body is FX layer/vein work (FXLayers::update_vein_branch, Hush 407 health), so the Camera name is doubtful (db notes call 00993a70 FXLayers::Update)
|
|
__thiscall void PauseScreen::render_my_stuff(Vector* pos); // RET 0x4; ECX=PauseScreen (+4 _menuType picks sprite +0x140/+0x2c), [ebp+8] render origin added to MyStuff layer frame
|
|
__thiscall void PauseScreen::render_lobby_buttons(Vector* pos); // RET 0x4; ECX=PauseScreen (+4 _menuType, +0xfac _playerIdx), [ebp+8] origin x/y added to InviteButton/KickButton null frames
|
|
__thiscall void Minimap::Init(); // plain RET; ECX=Minimap (copied to a local, ANM2::Load at +0x18/+0x178, fields +0x134..+0x154), no stack args
|
|
__thiscall void HUD::render_boss_health_bar(Vector barPos); // RET 0x8 = one by-value Vector; ECX=HUD (+0x5490 fill, +0x5998 offset); the passed value is overwritten with the centred bar position before any read
|
|
__thiscall void Entity_Player::trigger_cracked_orb(Vector* effectPos); // RET 0x4; ECX=player (collectible RNG +0x2a30, TryUnlock(this)), [ebp+8] spawn pos of effect 1000.173; zero vector -> follows the player
|
|
__thiscall bool Entity_NPC::CanBeDamagedFromVelocity(Vector velocity); // RET 0x8 = one by-value Vector; Lua EntityNPC:CanBeDamagedFromVelocity(Vector); [ebp+8]/[ebp+0xc] x/y compared with the facing direction, &[ebp+8] passed to vector_to_direction
|
|
__thiscall EntityConfig_Entity* EntityConfig_Entity::move_constructor(EntityConfig_Entity* other); // RET 0x4; ECX=this (returned), [ebp+8] source record whose strings are reset to SSO and vectors stolen
|
|
__thiscall void Menu_Stats::update_stats_screen(); // plain RET; ECX=Menu_Stats (+0 mode, +0x10 page counter), no stack args
|
|
__thiscall void CutscenePart::load_subtitles(); // plain RET; ECX=part (+0xc subtitle path string, +0x24 cue array, +0x30 count), no stack args
|
|
__thiscall void Entity_Laser::spawn_impact_effect(int unused); // RET 0x4; ECX=laser; [ebp+8] never read, all 4 callers (009705ce, 00974ed1, 0097570a, 0097603f) push ecx as a dummy before the call
|
|
__thiscall unsigned int* ItemPool::pick_weighted(float* poolList, unsigned int flags, float roll<xmm1>); // RET 0x8; [ebp+8] pool list (+0 total weight, +4/+8 entry vector begin/end, 0x18-byte entries), [ebp+0xc] flags; XMM1 read before any write = weight roll; returns the entry or 0
|
|
__thiscall void Level::raise_mineshaft_rail(); // plain RET; ECX=Level (HasAbandonedMineshaft(this), _roomCount/_roomList walk), no stack args
|
|
__fastcall void FamiliarHelper::umbilical_baby_load_graphics(Entity_Familiar* familiar); // plain RET; ECX=familiar (mov edi,ecx; [edi+0x410] _player, sprite +0x48), EDX never read, no stack args
|
|
__stdcall int Entity_NPC::FindTargetPit(Vector* pos1, Vector* pos2, unsigned int pitIndex); // RET 0xc (at 0054929e); no ECX read; pits (grid type 7) scored by 2000-dist(pos1) - 3*dist(pos2), skips within 60 of pos2, returns grid index or -1
|
|
__thiscall void Weapon::play_brimstone_costume_shoot(int unused1, int unused2, Vector* direction, float frames); // RET 0x10 (at 009f4fbd); ECX weapon (+4 owner), [ebp+8]/[ebp+0xc] never read (caller at 00a0084e does sub esp,8), [ebp+0x10] dir passed to string_from_direction, [ebp+0x14] float frames (caller pushes 8.0f)
|
|
__fastcall void NpcHelper::moms_heart_pick_attack(Entity_NPC* npc); // plain RET (at 004d479d); ECX = npc (MOV EBX,ECX), EDX written before read, no stack args; the 3 callers in NpcAI::ENTITY_MOMS_HEART ignore EAX
|
|
__fastcall void NpcHelper::heretic_choose_attack(Entity_NPC* npc); // plain RET (at 004b43b3); ECX = npc spilled to [ebp-0x24] and reloaded after heretic_count_out_fires, no EDX/stack args; NpcAI::ENTITY_HERETIC calls it with ECX = npc
|
|
static cleanup int ItemPool::get_pool_from_room_entities(unsigned int seed<ecx>, RoomDescriptor* roomDesc<edx>, int bossId); // plain RET (at 007ec004), caller pops (add esp,4 at 007ec0bc); ECX seed forwarded to GetPoolForRoom, EDX desc (+0x10 RoomConfig), [ebp+8] boss id (0 = scan room spawns for EntityConfig bossID)
|
|
__stdcall void PlayerManager::unlock_completion_mark(int completionType); // RET 0x4 (at 0095aa2d); ECX never read (ESI = g_game), [ebp+8] completion id (callers push 0/3/0xe/0xf; 6 and 0xd also TryUnlock 0x154 / 0x195+0x27b)
|
|
__thiscall void Weapon_UmbilicalWhip::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc at 00a0e622; vftable slot 3, same shape as Weapon_Tears/Weapon_Bone::Fire, calls Weapon::Fire(this, dir, isShooting, isInterpolated) first; byte arg 3 != 0 returns early
|
|
__stdcall void Game::CharmFart(Vector* position, float radius, Entity* source); // RET 0xc (at 0070435b); ECX never read; [ebp+8] pos, movss [ebp+0xc] radius (doubled with trinket 0x86), [ebp+0x10] source (GetPlayerAncestor); caller 46231 pushes &pos, 80.0f, this
|
|
__stdcall unsigned short Level::compute_room_distances(unsigned short* distances<ecx>, int fromRoomIdx, unsigned int toRoomIdx, unsigned int* outNextRoomIdx); // RET 0xc (at 0064d1c0); ECX is a caller stack buffer (MOV EBX,ECX; memset 0x17a), not a Level; BFS from toRoomIdx, returns distances[fromRoomIdx], writes fromRoomIdx's nearest neighbour toward toRoomIdx to the out ptr when non-null (callers pass 0 or &local)
|
|
__thiscall EntityConfig_Entity* EntityConfig_Entity::operator_assign(EntityConfig_Entity* other); // RET 0x4 (at 00698e7b); ECX this, [ebp+8] source record read field by field (id/variant/subtype, name string at +0xc ...), returns this
|
|
__thiscall void Entity::SetColor(ColorMod* color, int duration, int priority, bool isFadeout, bool isShare); // RET 0x14 (at 006b319e); vtable slot 15; duration < 1 copies the color straight into _color, else inserts a 0x3c-byte entry into _colorParams sorted by priority; isShare forwards all 5 args to _child's slot 15 when DoesEntityShareStatus
|
|
__thiscall void RoomTransition::start(int roomIdx, int direction, int animation, Entity_Player* player, int dimension); // RET 0x14 (at 0082f1bc); ECX = Game+0x1b83c; args stored to _targetRoomIdx/_direction/_animation/PlayerManager._roomTransitionPlayer/_targetDimension (dimension < 0 = current), same order as Game::StartRoomTransition
|
|
__fastcall void Menu_CreateLobby::load_graphics(ANM2* menuSprite); // plain RET (at 008cbfd1); ECX = MenuManager+0xedd8 (MOV EDI,ECX), first member is the CreateLobbyMenu.anm2 sprite followed by 6 box sprites; EDX written before read, no stack args; no Menu_CreateLobby struct exists, so typed by its first member
|
|
__thiscall void Entity_Player::ReviveFromTrinket(unsigned int trinketId, int unused); // RET 0x8 (at 007a35dc, only RET up to 007a37c0); ECX player (MOV ESI,ECX; +0x161c playerIndex), [ebp+8] trinket id (0x17 / 0x1c), [ebp+0xc] never read; callers 007a1b51/007a1c32 push ecx; push 0x1c/0x17; mov ecx,[[0xc812a0]]
|
|
__thiscall void Game::StartDebug(int levelStage, int stageType, int difficulty, std_string roomFile); // RET 0x24 (at 006f7a66) = 3 dwords + 0x18-byte std::string by value (REPENTOGON says std_string*; wrong); ECX unused (game read from g_game); string _size != 0 loads RoomConfig::LoadRoomFromXmlFile + Level::DEBUG_goto_room, then the copy is freed
|
|
__thiscall void Game::RerollLevelPickups(unsigned int seed); // RET 0x4 (at 00704f19); ECX game (_nbRooms, _roomList SavedEntities), [ebp+8] seed copied to the Daemon's Tail (trinket 22) reroll RNG; Lua Game:RerollLevelPickups(seed)
|
|
__thiscall bool Room::spawn_sanguine_bond_spikes(bool isRoomInit); // RET 0x4; byte [ebp+8]: Room::Init passes 1 (skips unsummoning other spikes and the poof), Entity_Player::AddCollectible 0; returns 0/1
|
|
__fastcall void Game::reset_players_for_greed(Entity_Player* player); // plain RET; ECX is the player (mov edi,ecx; _exists/_controllerIndex/_twinPlayer), no EDX or stack args
|
|
__thiscall void GridEntity_Rock::Render(Vector* offset); // RET 0x4; vtable slot 3, [ebp+8] x/y added to get_render_position
|
|
__stdcall void NpcHelper::visage_chain_solve(Entity_NPC* npc<ecx>, bool isInterpolate); // RET 0x4; ECX npc (mov esi,ecx; +0x3bc/+0x3c0 parent/child), byte [ebp+8]: nonzero adds half velocity and skips the visibility/collision writes
|
|
__thiscall void Entity_NPC::PlayDeathEffects(); // plain RET; ECX npc (_sprite, _type, _splatColor), no stack reads
|
|
static cleanup Entity* Game::GetNearestEnemy(Vector* position<ecx>, Entity* source<edx>, float radius<xmm1>, void* distanceFn); // plain RET; callers 005155fe push FUN_00515290 (or 0); lea ecx,[ent+0x33c]; mov edx,ent; movaps xmm1; add esp,4; distanceFn(position) replaces the squared distance when non-null
|
|
__thiscall void Entity_Familiar::MoveDiagonally(float speed); // RET 0x4; float [ebp+8] scales the diagonal push and wall bounce; no meaningful EAX/ST0 result (decompile returned garbage float)
|
|
__thiscall void Entity_Familiar::ai_mega_blast_wisp(); // plain RET at 0043e980; ECX wisp familiar (_player, _linkedEntity, _fireCooldown), no stack reads
|
|
__thiscall void Entity_Familiar::PlayChargeAnim(int direction); // RET 0x4; [ebp+8] switch 0 side+flip / 1 up / 2 side / 3 down; EAX result is leftover (decompile returned int*)
|
|
__cdecl void ItemPool::pick_collectible(Entity* timer); // MISNAMED (ZHL [exact] sig hit the wrong function): Entity_Effect::CreateTimer callback from NpcAI::ENTITY_LIL_BLUB death (CreateTimer(fn,1,0xf,0)); plain RET, ECX never read, [ebp+8] = timer effect whose _pos seeds 2+2 projectiles (spawnerType 0x385 Lil Blub)
|
|
__fastcall void NpcHelper::tuff_twins_body_attack_anim(Entity_NPC* npc); // plain RET at 0059a1d4; ECX npc (_parent, _pos, _initSeed, _sprite), EDX and stack never read
|
|
__thiscall void Entity_NPC::RenderSegmentLink(Vector* offset, bool isShadow); // RET 0x8; [ebp+8] render offset (x,y read), byte [ebp+0xc] nonzero = black tint (shadow pass) instead of Color()
|
|
__thiscall void Console::LoadCommandHistory(); // plain RET at 00686493; ECX console (history deque at +0x58..+0x64), no stack reads
|
|
__thiscall void* Game_StateSlot::operator_assign(void* other); // RET 0x4; ECX dest block, [ebp+8] source (param_1 + offsets mirror in_ECX + offsets), returns ECX
|
|
__thiscall bool Level::ForceHorsemanBoss(unsigned int seed); // RET 0x4; ECX level, [ebp+8] seed passed to RoomConfig::GetRandomRoom; returns 1 when a boss room was replaced, else 0
|
|
__thiscall void Room::make_walls(); // plain RET at 0081eebf; ECX room (_descriptor, _gridWidth/_gridHeight), no stack reads
|
|
__thiscall bool Room::check_line_collision(Vector* from, Vector* to, int lineCheckMode, bool isIgnoreWallsAndDoors, int unused, Vector* outPos); // RET 0x18; ECX room; [ebp+0x10] switch 1..7 on GetGridCollision class (CheckLine modes), byte [ebp+0x14] lets grid types 0xf/0x10 pass, [ebp+0x18] never read, [ebp+0x1c] optional out = hit point or `to`
|
|
__thiscall void HUD::render_player_hud(int playerHudIdx, int hudLayout); // RET 0x8; ECX HUD, [ebp+8] index into _playerHUD (stride 0x6dc), [ebp+0xc] layout 0/1/3
|
|
__thiscall void Entity_Familiar::ai_samsons_chains(); // plain RET; ECX familiar only
|
|
__thiscall void Entity_Familiar::ai_auto_shooter(); // plain RET; ECX familiar only
|
|
__thiscall void Entity_Familiar::ai_key_full(); // plain RET; ECX familiar only
|
|
__thiscall void Entity_Familiar::minisaac_fire(); // plain RET; ECX familiar only
|
|
__thiscall void Entity_Familiar::render_charge_indicator(Vector* renderPos); // RET 0x4; [ebp+8] render position (x+12, y-35)
|
|
__thiscall void Entity_Familiar::target_threatening_projectile(float maxDistance<xmm1>, int unused, unsigned int flags); // RET 0x8; [ebp+8] never read, [ebp+0xc] flags (bit0 always assign, bit1 skip heading score), movss [esp+0x3c],xmm1 range
|
|
__thiscall void Entity_Familiar::trigger_player_damage(float amount<xmm1>, unsigned long long damageFlags, EntityRef* source); // RET 0xc; movss [ebp-0x10],xmm1 amount; [ebp+8] flags lo (& 0x10200020), source->_entity at +0x24
|
|
__thiscall void Entity_Projectile::Interpolate(); // plain RET; vtable slot 4
|
|
__thiscall void Entity_NPC::update_damage_history(); // plain RET; ECX npc only
|
|
__thiscall bool Room::make_wall(int x, int y); // RET 0x8; index = _gridWidth*y + x, returns 1 only when a wall was placed
|
|
__thiscall void Room::hold_trigger_output_entities(); // plain RET; ECX room only
|
|
__thiscall void Level::store_game_state(GameState* state); // RET 0x4; writes stage/curses/rooms into [ebp+8]+0xe4..0x19d6c
|
|
__thiscall void Level::init_rotgut_dungeon_room(); // plain RET; ECX level only
|
|
__thiscall void Level::AddCurse(unsigned int curses, bool isShowName); // RET 0x8; [ebp+8] ORed into _curses, byte [ebp+0xc] shows the fortune line
|
|
__thiscall void Entity_Player::ClearTemporaryEffects(); // plain RET; ECX player only
|
|
__thiscall void GridEntity_Lock::break_open(Entity_Player* player); // RET 0x4; [ebp+8] null-checked, ->_hasGoldenKey picks "BreakingGolden"
|
|
__thiscall void Menu_Save::select_slot(unsigned int slot); // RET 0x4; [ebp+8] -> Manager::SetSaveSlot
|
|
__thiscall void Backdrop::render_control_icon(unsigned int actionId, bool isPadded, int controllerIdx, float* x, float* width, void* outFrames, void* outPositions); // RET 0x1c; two std::vector<uint> outputs at [ebp+0x1c]/[ebp+0x20]
|
|
__thiscall void Menu_OnlineLobbyList::reset(); // plain RET; ECX menu only
|
|
__thiscall void Menu_OnlineMode::Update(); // plain RET; ECX menu only
|
|
__thiscall void GridEntity_Decoration::Update(); // plain RET; vtable slot 2
|
|
__thiscall void RoomConfigMode::Clear(); // plain RET; ECX only
|
|
__thiscall void Menu_Character::destructor(); // plain RET; ECX MenuManager+0x1534
|
|
static cleanup void NpcHelper::delirium_remove_minions(int type<ecx>, int variant<edx>, Entity* self, Entity* other); // plain RET with 2 stack args (caller pops); ECX type, EDX variant saved to locals
|
|
__stdcall void NpcHelper::charger_update_move_anim(Entity_NPC* npc<ecx>, std_string* sideAnim, std_string* upAnim, std_string* downAnim, float minSpeed); // RET 0x10; ECX npc (+0x48 sprite, +0x360 velocity), downAnim also the idle anim below minSpeed
|
|
__stdcall float* NpcHelper::hush_fly_shape_build(float* outPath<ecx>, int shape, float radius<xmm2>); // RET 0x4; ECX out {length, vector begin/end/cap} returned, [ebp+8] shape 1..6, xmm2 radius
|
|
__fastcall Entity* NpcHelper::heretic_spawn_afterimage(Entity_NPC* npc); // plain RET; ECX npc, returns the spawned 905 afterimage
|
|
static cleanup void GridEntity_Poop::spawn_hit_gibs(Vector* position<ecx>, int poopVariant<edx>, int maxGibs); // plain RET; ECX position (passed to Game::Spawn/SpawnParticles), EDX poop variant switch, [ebp+8] gib count bound; caller 007157f2 lea ecx,pos; mov edx,variant; push n; add esp,4
|
|
__thiscall std_string* Level::GetCurseName(std_string* outName); // RET 0x4 (0074655c); ECX level (+0xc curses), [ebp+8] out string returned; first active curse name, scrambled under seed effect 9
|
|
__stdcall void NpcHelper::clutch_spawn_fire(Entity_NPC* npc<ecx>, Entity* target); // RET 0x4 (00573026); ECX clutch npc (spawner, EntityRef source, Parent of spawned 921.1), [ebp+8] target orbital: flags |0x10, its +0x33c pos for 33.13 spawn
|
|
__stdcall void NpcHelper::beast_soul_render(Entity_NPC* npc<ecx>, Vector* offset); // RET 0x4 (005981ea); ECX npc (+0xc1c trail deque, +0x48 sprite), [ebp+8] render offset added to each point; caller 00598260 forwards Render(offset) when variant == 3
|
|
__stdcall void NpcHelper::bulb_player_collision(Entity_NPC* npc<ecx>, Entity* collider); // RET 0x4 (0054ceac/0054d099); ECX npc (mov esi,ecx; +0x2c variant), [ebp+8] collider: variant 6 damages any player/familiar (type 1/3), else drains a player's active charge
|
|
__thiscall Entity_Familiar* Entity_Player::AddMinisaac(Vector* position, bool isPlayAnim); // RET 0x8 (007d1c06); [ebp+8] spawn pos, byte [ebp+0xc] random launch velocity + "Appear" + blood splat (Lua EntityPlayer:AddMinisaac(pos, playAnim))
|
|
__thiscall void Console::history_push(std_string line); // RET 0x18 (00686724); std::string by value at [ebp+8..0x1c] (freed on exit, capacity at [ebp+0x1c]); ECX console
|
|
__thiscall void Entity_Player::trigger_immaculate_conception(bool isCambion); // RET 0x4 (007c8048); byte [ebp+8]: 0 = Immaculate Conception costume by _immaculateConceptionState/5, else Cambion costume by GetCambionPregnancyLevel; ReplaceCostumeSprite
|
|
__thiscall void GameState::write_score_sheet(void* writer); // RET 0x4 (009d7d46); [ebp+8] = {stream*, ?, ?, Checksum} (vfunc +0x1c write, Checksum::Update at +0xc); ECX score sheet block
|
|
static cleanup void Entity_Pickup::load_collectible_gfx(ANM2* sprite<ecx>, int layerId<edx>, int collectibleId, unsigned int seed, bool isBlind); // plain RET (006e1fcb); caller 006e2338 lea ecx,[pickup+0x48]; mov edx,1; push blind; push [+0x3ec] seed; push [+0x30] subtype; add esp,0xc; seed rerolls the gfx in challenge 0x20
|
|
__thiscall int EntityList::CountEntities(Entity* spawner, int type, int variant, int subType); // RET 0x10 (0041b7d2 x9); compares [ebp+8] with entity +0x3c8 SpawnerEntity, type +0x28 (0 = any), variant +0x2c / subtype +0x30 (<0 = any); null spawner -> FUN_0041b690 (RET 0xc, same without spawner)
|
|
__thiscall void Entity_Familiar::update_weapon(bool isInterpolated); // RET 0x4 (0062e9b6); byte [ebp+8] forwarded to Weapon::Update/Fire vfuncs +8/+0xc; Entity_Familiar::Interpolate passes 1, Update paths 0 (skips weapon swap and timers)
|
|
__thiscall bool Level::prepare_blue_room(int currentRoomIdx, int targetRoomIdx, int direction); // RET 0xc (0074d710); caller Game::StartRoomTransition passes (_currentRoomIdx, roomIndex, direction); target flag 0x40000 -> builds the -0x10 blue room with doors linking both rooms
|
|
static cleanup Entity_NPC* NpcHelper::min_min_spawn_willo(Vector* position<ecx>, Entity_NPC* spawner<edx>, float v1X<xmm2>, int subType); // plain RET (0055912f/005591b0); callers 004d04b4 lea ecx,[npc+0x33c]; mov edx,npc; movss xmm2,[..]; push 0; add esp,4; [ebp+8] = willo subtype (0 -> UnderwaterSpawn, else UnderwaterAttack)
|
|
__thiscall void Room::ShopReshuffle(bool isKeepCollectibleIdx, bool isReselectSaleItem); // RET 0x8 (0081624a); byte [ebp+8] keeps slots holding 8 in place, byte [ebp+0xc] rerolls descriptor +0xae sale index (Lua Room:ShopReshuffle(KeepCollectibleIdx, ReselectSaleItem))
|
|
__fastcall void PersistentGameData::copy_shared_progress(PersistentGameData* dst, PersistentGameData* src); // plain RET (0091b956); ECX dst, EDX src, both null-checked; copies listed event counters (+700) and achievement bytes (+0x38)
|
|
__thiscall bool Level::reveal_room_visibility(RoomDescriptor* room, RoomDescriptor* fromRoom, int doorSlot); // RET 0xc (0073f935); [ebp+8] room (+0x3c DisplayFlags |= 3/5), [ebp+0xc] neighbour it was reached from (0 at the start), [ebp+0x10] door slot (-1 none); recurses over GetNeighborRoomIdx slots 0..7
|
|
__stdcall void NpcHelper::singe_explode_at(Entity_NPC* npc<ecx>, Vector* position); // RET 0x4 (0058aeca); ECX singe (BombExplosionEffects source, spawner of 915.1), [ebp+8] explosion position; only caller NpcAI::ENTITY_SINGE_body
|
|
static cleanup int* Level::get_door_neighbor_pos(int* outPos<ecx>, int* gridPos<edx>, int roomShape, unsigned int doorSlot); // plain RET (0074c503); [edx]/[edx+4] room x/y, [ebp+8] shape, [ebp+0xc] door slot; writes and returns ECX
|
|
__thiscall void Menu_CreateLobby::update_paper_layers(); // plain RET (008cca03), no stack reads; ECX menu, ANM2s at +0x114 stride 0x120
|
|
__thiscall PersistentGameData* PersistentGameData::operator_assign(PersistentGameData* other); // RET 0x4 (0092922e); [ebp+8] source copied field by field into ECX, mov eax,ebx(this)
|
|
__thiscall int ItemPool::on_pill_used(int pillColor, unsigned int seed, unsigned int* rngState); // RET 0xc (00736f8b); caller 007c42fe push rng ptr; push seed; push [ebx+0xc] colour; [ebp+0x10] never read; returns the new effect
|
|
__stdcall char NpcHelper::visage_handle_collision(Entity_NPC* npc<ecx>, Entity* collider, int unused); // RET 0x8; ECX npc (variant/state), [ebp+8] collider; [ebp+0xc] never read; caller 006ce008 push ecx; push esi; mov ecx,edi; al 0xff = default, 0/1 = handled
|
|
__thiscall void Menu_Stats::reset_state(); // plain RET (009ed594), no stack reads; ECX Menu_Stats (sprites, _IconIDtoUseForAchievementID)
|
|
__thiscall void Console::submit_input(int unused); // RET 0x4 (00686d80); [ebp+8] never read; callers 0068b853/0068bb47 push ecx; mov ecx,esi(console)
|
|
__stdcall void PlayerManager::remove_coplayer_slot(int* hudSlots<ecx>, Entity_Player* player); // RET 0x4 (0083bca5); ECX 5-dword slot array (not a PlayerManager), [ebp+8] player compared with slot[0]; caller 009ba6b7 push esi(player)
|
|
__stdcall void HUD::render_modded_coop_portrait(int playerType, Vector* position, Vector* scale, ColorMod* color); // RET 0x10 (008f90d2); ECX overwritten with g_manager first; [ebp+0xc] -> ANM2::Render pos, [ebp+0x10] 2 dwords -> ANM2 _scale (+0x9c), [ebp+0x14] 0x2c-byte ColorMod -> _color
|
|
__thiscall void Level::InitStageSeeds(); // plain RET (0074fbdd), no stack reads; ECX Level (+0 stage, +4 stageType), fills two 13x13 noise maps at +0x183b0/+0x18654
|
|
__thiscall void Cutscene::TemporaryPart::Init(); // plain RET (0095ffa7), no stack reads; vtable slot 1, ECX part: Font::Load into +0x40 and +0x8c
|
|
__thiscall void Menu_Online::enter(); // plain RET (008e541e), no stack reads; ECX Menu_Online (MenuManager+0xda98): ANM2 at +4, +0x22c/+0x230
|
|
__thiscall void Menu_DailyChallenge::load_graphics(); // plain RET (008d072f), no stack reads; ECX menu: ANM2 at +0x14/+0x3b4/+0x4c8, GenericPrompt at +0x270
|
|
__thiscall void Weapon_Bone::TriggerNewRoom(); // plain RET (009ff09d), no stack reads; vtable slot 11, ECX weapon: 4 knife pointers at +0x44
|
|
__thiscall void Room::render_debug_grid_indices(Vector* renderOffset); // RET 0x4; [ebp+8] float pair added to every quad/label position (x at +0, y at +4)
|
|
__thiscall bool Game::LoadMinibossesXml(char* path); // RET 0x4; ECX spilled to [ebp-0x10078] (this+0x1c60 table, 0x1c stride), [ebp+8] path to FileSystem::Open, returns al 0/1
|
|
__thiscall void HUD::show_fortune_text_impl(char* text); // RET 0x4; ECX HUD (_font/_fontKR), [ebp+8] UTF-8 text word-wrapped at width 0x10e into a std::list<string>
|
|
__cdecl void Menu_OnlineLobby::leave_popup_callback(int* popupResult, void* lobbyMenu); // plain RET; [esp+4] result (acts only on 1), [esp+8] menu passed to init_lobby_view and cleared at +0x954/+0x958
|
|
__thiscall void Entity_Knife::UpdateHomingPath(); // plain RET; only ECX (knife) used, no stack args
|
|
__thiscall void HUD::destructor(); // plain RET; only ECX (HUD) used, no stack args
|
|
__fastcall void NpcHelper::needle_render(Entity_NPC* npc); // plain RET; ECX npc spilled at entry (reads +0xb64 state, sprite +0x48), no EDX/stack args
|
|
__thiscall void Weapon_Deathmatch::Fire(Vector* direction, bool isShooting, bool isInterpolated); // RET 0xc (both RETs); ECX weapon (in_ECX, ->_owner), [ebp+8..0x10] forwarded unchanged to Weapon::Fire first, same shape as Weapon_Tears/Weapon_Brimstone::Fire
|
|
__thiscall void Entity_Familiar::level_start(); // plain RET (both); only ECX (familiar) used, no stack args
|
|
__thiscall void PauseScreen::render_seed_paper(Vector* renderOffset); // RET 0x4; ECX PauseScreen (+4 menu type), [ebp+8] float pair added to the null frame position
|
|
__thiscall void Menu_Bestiary::load_graphics(); // plain RET; ECX menu (ANM2 at +8 and +0x11c), no stack args
|
|
__thiscall bool LevelGenerator::try_add_dead_end(int unused, void* excludedGridIndices); // RET 0x8; ECX generator (rooms vector at +0x1b0..), [ebp+8] never read, [ebp+0xc] std::set<int>* (nullable) searched with find_node before place_room
|
|
__thiscall void PauseScreen_MyStuff::render_entry(int* entry, Vector* position, int chargeBarOffset, void* image, void* imageRefCount); // RET 0x14; ECX spilled at [ebp-0x58] (font +0x184, charge bar ANM2 +0x52c); entry [0] kind (2 = unidentified pill), [1] id, +8 name string; image/imageRefCount a by-value smart pointer released at exit
|
|
__thiscall int* Entity::get_water_splash_variant(int* outSplash); // RET 0x4 (all 16); ECX entity (type/variant/_sortingLayer), [ebp+8] out {int effect variant, float y offset} returned in eax
|
|
__thiscall void Game::update_trapdoor_loop_sfx(); // plain RET (all 4); ECX game (room at +0x10 of Level part), no stack args
|
|
__thiscall void GridEntity_PressurePlate::Render(Vector* renderOffset); // RET 0x4; vtable slot 3, ECX plate, [ebp+8] float pair added to get_render_position
|
|
__thiscall int Weapon_Laser::fire_lasers(Vector* position, Vector* direction, unsigned int offsetId, float damageScale, void* multiShotParams, int spreadCount, int unused); // RET 0x1c; ECX weapon; [ebp+8..0x18] forwarded to Weapon::fire_laser / GetMultiShotPositionVelocity, [ebp+0x1c] spread count (>5 plays sound), [ebp+0x20] never read; eax = number of lasers fired (counter, not an Entity_Laser*)
|
|
__fastcall void NpcHelper::colostomia_pick_dive_target(Entity_NPC* npc); // plain RET (both); ECX npc spilled to [ebp-4] (writes V1 +0xbb0, state +0xb64 = 6), EDX unread, no stack args
|
|
__thiscall void Entity_Knife::update_target(float* outAngle); // RET 0x4; ECX knife, [ebp+8] receives atan2f(...) * 57.295776 (degrees) when the knife is out
|
|
__thiscall RoomDescriptor* RoomDescriptor::copy_constructor(RoomDescriptor* other); // RET 0x4; ECX this, [ebp+8] source read field by field (GridIndex..Group at +0xb4), returns this
|
|
__thiscall void Ambush::Update(); // plain RET (all 4); ECX ambush (in_ECX ->_currentWave/_maxWaves), no stack args
|
|
__thiscall void HUD::constructor(); // plain RET; ECX HUD (8 x 0x6dc PlayerHUD at +0, fonts +0x36e0/+0x372c, ANM2s), no stack args
|
|
__thiscall Entity* Entity_Player::AddSwarmFlyOrbital(Vector* position); // RET 0x4; ECX player (spawner, familiar +0x410 owner match), [ebp+8] passed to Game::Spawn(3, 0xe5, position, ...), returns the spawned familiar
|
|
__cdecl void Manager::unload_configs(); // plain RET; ECX never read (loads g_manager from 0xc7169c at entry), no stack args
|
|
__thiscall void Backdrop::constructor(); // plain RET; ECX backdrop (Room+0x1bc8), no stack args
|
|
__thiscall void AnimationState::ChangeAnimationKeepFrame(void* animData); // RET 0x4; ECX state, [ebp+8] new anim data (+0x1c layer count, +0x24 null count) stored to _animData at exit, frame arrays regrown keeping old frames
|
|
__thiscall void HUD::render_player_net_status(int playerHudIndex, void* profileVftable, void* profile, float x, float y); // RET 0x14; ECX HUD (+index*0x6dc), [ebp+0xc..0x10] a by-value KAGE::System::UserProfile (callers push UserProfile::vftable then the profile ptr; +8/+0xc read as the id), [ebp+0x14/0x18] HUD position
|
|
__thiscall unsigned int Entity_Player::get_grid_collision_at(Vector* position); // RET 0x4; ECX entity (only treated as a player when _type == 1), [ebp+8] x/y floats -> grid index, eax = GridCollisionClass
|
|
__thiscall void Entity::LoadEntityConfig(); // plain RET (all 7); vtable slot 25, only ECX (entity) used, no stack args
|
|
__thiscall void Entity_Laser::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10; vtable Init, forwards [ebp+8..0x14] unchanged to Entity::Init first, same shape as Entity_Effect::Init
|
|
__stdcall bool GameState::write_room(void* roomConfigState, unsigned short* room, int* stream); // RET 0xc, mov al,1; no ECX read: [ebp+8] loaded into ECX for write_entry(stream) then reused as a checksum scratch slot, [ebp+0xc] RoomDescriptor-shaped save entry (0xb8 stride in GameState::write), [ebp+0x10] stream (vfn 0x1c write)
|
|
__thiscall LootList* Entity_NPC::fireplace_get_loot(LootList* outLoot, bool isShouldAdvance); // RET 0x8 (at 006d18c1); ZHL LootList by value = hidden out ptr [ebp+8] returned in eax; byte [ebp+0xc] picks _dropRNG vs a local copy (same shape as shopkeeper_get_loot)
|
|
__stdcall Vector* NpcHelper::colostomia_pick_target(Entity_NPC* npc<ecx>, Vector* outTarget, bool* isPlayerPos); // RET 0x8 (at 004a2cd3); mov [ebp-0x71c],ecx then GetPlayerTarget(npc); [ebp+8] out Vector returned in eax, byte [ebp+0xc] = 1 when it falls back to the player position, 0 when a grid cell near the 1000.141 effects wins
|
|
__fastcall void ANM2::copy_animation_to(ANM2* source, ANM2* dest); // plain RET (at 0078b636); mov ebx,edx / mov edi,ecx at entry, no stack args; copies anim+frame and overlay anim+frame from ECX sprite to EDX sprite
|
|
__thiscall void Manager::update_hotkeys(); // plain RET (at 00954b23/00954b39); mov ebx,ecx at entry, no stack args; ECX Manager (+0x2a2e4 mute, +0x2a33c OptionsConfig)
|
|
__thiscall void BossPool::init(unsigned int seed); // RET 0x4 (at 00421b43); ECX BossPool (37 pool RNGs from +0x28 stride 0x3c), [ebp+8] seed (zero -> "RNG Seed is zero!" + int3); eax is leftover, no caller reads it
|
|
__thiscall void Entity_NPC::anim_walk_frame_4dir(std_string* leftAnim, std_string* rightAnim, std_string* upAnim, std_string* downAnim, float walkThreshold); // RET 0x14 (at 006c1949); below threshold plays downAnim frame 0 stopped; |vx|>|vy| picks left/right by sign of vx, else up/down by sign of vy; threshold halved for slow champions
|
|
__fastcall void NpcHelper::gideon_update_death(Entity_NPC* npc); // plain RET (at 004b393c), thunk 004b3940 jmp; mov edi,ecx at entry, EDX written before read, no stack args; reads npc sprite +0x78, _pos +0x33c, +0xc64
|
|
__thiscall bool Room::TrySpawnBlueWombDoor(bool isFirstTime, bool isIgnoreTime, bool isForce); // RET 0xc (at 00820445/0082045b); mov [ebp-0x14],ecx Room; byte [ebp+8] SpawnDust on the door, byte [ebp+0xc] ignores _blueWombParTime, byte [ebp+0x10] skips the achievement/boss-room/stage checks; al = 1 when the door was made (Lua Room:TrySpawnBlueWombDoor(FirstTime, IgnoreTime, Force))
|
|
__thiscall RoomConfig_Room* RoomConfig::make_generated_room(RoomConfig_Room* source); // RET 0x4 (at 0082dd79); ECX RoomConfig (+0x1e20 generated-room list resized by one), [ebp+8] source room copied; returns the new node + 8
|
|
__thiscall void Menu_OnlineLobby::start_game(); // plain RET (at 008eba4b), no stack args; ECX menu (mov [ecx+0x958],0 first)
|
|
__thiscall ColorMod* Weapon::get_tear_color(ColorMod* outColor); // RET 0x4 (at 009f3f58); ECX Weapon (mov edi,[ecx+4] owner), [ebp+8] out Color written (default white) and returned; sibling of get_laser_color
|
|
__cdecl void NpcHelper::bubbles_death_geyser_tick(Entity* owner); // plain RET (at 0055ad08), [ebp+8] owner (pos +0x33c, +0x450/+0x478/+0x168 for apply_spawn_flags); ECX not read; Entity_Effect::CreateTimer callback
|
|
__thiscall bool PersistentGameData::Load(char* filepath); // RET 0x4 (at 00926cec); [ebp+8] strlen()d and assigned to this+8, passed to SaveDataManager::open_file_read
|
|
__thiscall void Entity_NPC::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10 (at 006b8ef6); vtable slot 1, forwards [ebp+8..0x14] to Entity::Init after resetting NPC fields
|
|
__thiscall EntityConfig_Player* EntityConfig_Player::operator_assign(EntityConfig_Player* other); // RET 0x4 (at 0069ba86); field-by-field copy from [ebp+8] (id, std::string members, collectibles vector), returns this
|
|
__thiscall void Weapon_Bone::Update(bool isInterpolated); // RET 0x4 (009fa43a); vtable slot 2 like Weapon::Update; byte [ebp+8] nonzero skips the charge step (Entity_Familiar::update_weapon passes 1 when interpolating)
|
|
__fastcall void NpcHelper::gideon_spawn_stairs(Entity_NPC* npc); // plain RET at 004b11b3; mov ebx,ecx then [ebx+0xba4] grid index, EDX written before read, no stack args; only caller NpcHelper::gideon_update_death
|
|
__fastcall void FamiliarHelper::wisp_mine_crafter_update(Entity_Familiar* wisp); // plain RET at 0043db10; mov esi,ecx (+0x36c friction, +0x360/+0x364 velocity), EDX written before read, no stack args
|
|
__fastcall void NpcHelper::raglich_pick_target_pos(Entity_NPC* npc, float speed<xmm1>); // plain RET at 0057644a; mov esi,ecx; movss [ebp-4],xmm1 at entry (scales the side direction into velocity +0x360); EDX written before read; callers 00576f50/00577216 load xmm1 from a constant, mov ecx,npc
|
|
__thiscall void PauseScreen::constructor(); // plain RET at 009b55f0; mov ebx,ecx (this), no EDX/stack reads, EAX not set at exit; Game::constructor builds Game+0x2363c
|
|
__fastcall void NpcHelper::visage_start_charge(Entity_NPC* npc); // plain RET at 005ab3d3; mov edi,ecx then [edi+0xb64] state==0x6d, EDX written before read (vtable load), no stack args
|
|
__stdcall Entity* NpcHelper::Polty_SpawnRockProjectile(Entity_NPC* npc<ecx>, ANM2* sprite, int* gridDesc, Vector* velocity, int extraValue); // RET 0x10 (006d97d3); ECX npc saved at [ebp-0x14] (spawner, +0x33c pos, +0x168 flags); callers in NpcAI::ENTITY_POLTY push [obj+0x450] or 0, &velocity, obj+0x420 (desc: type<<16|variant, health, ...), obj+0x48 sprite; returns the projectile
|
|
__stdcall Entity* NpcHelper::rainmaker_spawn_homing_drop(Entity_NPC* npc<ecx>, Vector* position, int unused, int delay, float timerRotation, float timerScale); // RET 0x14 (00578a69); ECX npc (spawner, GetPlayerTarget); [ebp+0xc] never read (caller 00578f20 pushes junk ecx); delay -> Entity_Effect::CreateTimer; the two floats go to the timer +_rotation/+_scale (caller 00578da3 writes 0.0/0.05 at [esp]); returns the projectile
|
|
__thiscall void Weapon_Brimstone::fire_c_section_fetuses(); // plain RET at 00a00f21; mov esi,ecx (this+4 owner, +0x48 laser), EDX loaded from [esi+4] before use, no stack args
|
|
__thiscall void Entity_Player::blood_charge_changed(int oldBloodCharge); // RET 0x4 (007d2fb6); ECX player (+0x13c0 type 36); [ebp+8] old _effectiveBloodCharge compared against the new total per active slot
|
|
__thiscall void Entity_Player::apply_soul_charge_to_actives(int oldSoulCharge); // RET 0x4 (007d2d36); mov ebx,ecx player (+0x13c0 type 18); [ebp+8] old _effectiveSoulCharge, same body as blood_charge_changed; callers AddSoulCharge, SyncConsumables
|
|
__thiscall void Entity_Player::remove_wooden_cross_mantles(); // plain RET at 007db2c0; mov edi,ecx player, EDX written before read, no stack args
|
|
__thiscall void EntityPartition::query_box(EntityList_EL* outList, Vector* position, Vector* extent); // RET 0xc (0041c661); ECX partition ([ecx] owner with +0xd4 entity count, [5] cell size, [3] width, [6..7] 0xa4-byte cells); [ebp+8] result list (+4 data, +8 capacity, +0xc size), [ebp+0xc] pos, [ebp+0x10] half extent; callers EntityList::QueryRadius, query_player_capsule_hits
|
|
__stdcall void Manager::update_screen_scale(int width, int height, bool isFill); // RET 0xc (00954317); ECX overwritten (mov ecx,0xc798e0) before read, uses g_manager; [ebp+8] width, [ebp+0xc] height, byte [ebp+0x10] picks max (fill) vs min (fit) scale; callers ResizeWindowCallback, update_state_loading
|
|
__fastcall void Entity_Laser::update_wiggle_path(void* samples, float amplitude<xmm1>, float phase<xmm2>); // plain RET at 0099f2bd; mov edi,ecx where ECX = laser+0x464 (sample path: +4..+0x10 endpoints, +0x1c/+0x20 Vector samples, +0x40 mode), not the laser; xmm1/xmm2 spilled at entry; caller 009747bc (update_laser) sets xmm1 = Hook Worm multiplier or constant, xmm2 = [ebp-0xc4]; EDX unread
|
|
__stdcall void Manager::apply_device_key_config(int deviceId); // RET 0x4 (0095b284); ECX overwritten (mov ecx,0xc57b18 InputManager) before read, uses g_manager; [ebp+8] pushed to InputManager::get_device and FUN_00835ba0
|
|
__thiscall void HUD::show_fortune_line(char* text, int unused1, int unused2); // RET 0xc (009a36c2); mov edi,ecx HUD; only [ebp+8] read; caller Level::AddCurse 0074a42a does sub esp,8; push text
|
|
__thiscall void Entity_Tear::~Entity_Tear(); // plain RET (0066608d), no stack args; ECX tear (stores Entity_Tear::vftable at [ecx], resets 3 ANM2s, releases 4 EntityPtrs, ends in Entity::destructor(ecx)); the dump types ECX as Entity so members show as in_ECX[1]._x
|
|
__stdcall int* PlayerHUD::make_ref(HUD* hud<ecx>, int* outRef, Entity_Player* player); // RET 0x8 (009a8618); ECX = g_game+0x1da04 (_hud) stored to the new PlayerHUD +4; caller Entity_Player::Update 00782b54 push player; push &local; returns outRef (smart pointer: [0] PlayerHUD*, [1] ReferenceCount)
|
|
__stdcall void NpcHelper::hornfel_set_anim(Entity_NPC* npc<ecx>, int stateFrame); // RET 0x4 (004bb912); mov edi,ecx npc (+0xb64 state 3 -> plays s_Open, sfx 0x24, state 4); [ebp+8] stored to npc+0x410 (StateFrame) on every path
|
|
__fastcall void NpcHelper::visage_pick_target_position(Entity_NPC* npc); // plain RET at 005a7b12; ECX npc (+0x33c pos -> +0x334 target), no EDX/stack reads; best of 20 random points by visage_score_position (which returns its score in xmm0: 005a794f spills xmm0 right after the call)
|
|
__cdecl void Menu_Game::on_online_connect_result(int result, void* menuGame); // plain RET, caller pops; [ebp+8] result (0 -> push_menu 0x13), [ebp+0xc] Menu_Game (+0x240 popup id); registered at 0098155b with user data edi, direct call 00981583 push edi; push 0
|
|
__fastcall void NpcHelper::minecart_break(Entity_NPC* minecart); // plain RET at 004cf02e; mov edi,ecx (vtable +0x28, +0x33c pos for particles, +0x3c0 EntityPtr cleared), EDX zeroed before use, no stack args
|
|
__thiscall void Camera::get_clamp_bounds(Vector* outMax, Vector* outMin); // RET 0x8 (00943487); ECX camera (+_room); [ebp+8] gets the max corner (screen size minus room bottom-right), [ebp+0xc] the min corner; each axis collapses to the midpoint when min >= max
|
|
__thiscall void Level::UncoverHiddenDoor(int roomIdx, int doorSlot); // RET 0x8 (0074a260); mov ebx,ecx level; [ebp+8] room index clamped -20..168, [ebp+0xc] door slot clamped 0..7 (Lua Level:UncoverHiddenDoor)
|
|
__cdecl void NpcHelper::gutted_fatty_burst_projectiles(Entity* timer); // plain RET (004e0930); mov edi,[ebp+8] timer effect (+0x33c/+0x340 pos, +0x450/+0x478/+0x168 forwarded), ECX/EDX unread; Entity_Effect::CreateTimer callback
|
|
__thiscall bool Console::update_state(); // plain RET (2x); mov esi,ecx at entry, no stack reads; al=1 when open
|
|
__thiscall bool Room::TrySpawnSecretShop(bool isForce); // RET 0x4 (2x); ECX room, byte [ebp+8] skips the shop-room / Member Card check; returns 1 when spawned
|
|
__thiscall void Entity_Player::spawn_lil_clot_familiars(); // plain RET; ECX player (compared with familiar +0x410 player, GetTrinketMultiplier(this,176))
|
|
__thiscall void Room::render_debug_grid_values(Vector* offset); // RET 0x4; [ebp+8] float pair added to each cell's screen pos
|
|
__thiscall void Entity_Player::SwapActiveItems(); // plain RET (2x); ECX player, swaps _activeDesc[0]/[1]
|
|
__thiscall bool GridEntity_Rock::Destroy(bool isImmediate, EntityRef* source); // RET 0x8 (4x); REPENTOGON decl had no convention; byte [ebp+8] immediate, [ebp+0xc] never read
|
|
__fastcall void NpcHelper::visage_spawn_particles(Vector* position, Vector* direction); // plain RET; entry mov [esp+0x10],ecx / mov ebx,edx, no stack args
|
|
__fastcall void NpcHelper::scourge_whip(Entity_NPC* npc); // plain RET; ECX Scourge npc walked via +0x3c0/+0x3bc, EDX unread
|
|
__stdcall void NpcHelper::siren_familiar_orbit(Entity_NPC* siren<ecx>, Entity_Familiar* familiar); // RET 0x4; ECX Siren (+0xf40, +0x3c0), [ebp+8] familiar (velocity +0x360 written)
|
|
__thiscall void Entity_Pickup::PlayDropSound(); // plain RET; ECX pickup, no stack reads
|
|
__thiscall bool PersistentGameData::TryImportABLocalSave(char* path); // RET 0x4 (3x); [ebp+8] path strlen'd then std::string::assign
|
|
__thiscall void* Level::get_door_neighbor_indices(void* outIndices); // RET 0x4 (2x); [ebp+8] std::set<int> constructed and returned
|
|
__thiscall void* LevelGenerator::place_boss_room(int roomShape, unsigned int* possibleDoors, bool isForceDetermine); // RET 0xc (2x); p1/p2 forwarded to DetermineBossRoom and try_resize_room(room, shape, doors); returns room array entry
|
|
__thiscall void Entity_Laser::copy_from_parent(Entity_Laser* parent, bool isCopySpawnData); // RET 0x8; [ebp+8] parent laser fields, byte [ebp+0xc] gates RNG/spawner/oneHit copy
|
|
__thiscall void Ambush::shuffle_waves(); // plain RET; ECX ambush (wave vector +0, shuffled copy +0xc), no stack reads
|
|
__thiscall void Entity_Familiar::AddCoins(int count); // RET 0x4 (2x); [ebp+8] added to _coins; eax leftover
|
|
__thiscall Entity_Player* PlayerManager::FirstTrinketOwner(int trinketId, RNG** rng, bool isLazSharedGlobalTag); // RET 0xc (3x); same shape as FirstCollectibleOwner; ECX player vector
|
|
__thiscall void PauseScreen::~PauseScreen(); // plain RET; ECX pause screen, no stack reads
|
|
__thiscall void GridEntity_PressurePlate::update_greed_button_anim(bool isRed); // RET 0x4 (8x); byte [ebp+8] picks the *Red anims
|
|
__thiscall void GridEntity::Render(Vector* offset); // RET 0x4; REPENTOGON Render(Vector& Offset); [ebp+8] added to render position
|
|
__thiscall bool Entity_Player::TryHoldTrinket(int trinketId); // RET 0x4 (2x); ECX player (mov eax,ecx), [ebp+8] forwarded to is_trinket_unpickable_id
|
|
__thiscall void Game::reset_run_state(); // plain RET; ECX game, no stack reads
|
|
__thiscall void Menu_Save::~Menu_Save(); // plain RET at 009d8ecb; mov edi,ecx at entry
|
|
__stdcall void NpcHelper::path_point_at(void* path<ecx>, Vector* outPoint, float share<xmm2>); // RET 0x4; ECX path {length, points begin, end}, [ebp+8] out pair, fmodf(xmm2, 1)
|
|
__thiscall void Entity_Player::add_samson_berserk_charge(int amount); // RET 0x4; [ebp+8] added to _samsonBerserkCharge
|
|
__thiscall void BackdropConfig::constructor(); // plain RET; zeroes ECX+0x4..+0x138, no stack reads
|
|
__thiscall bool Entity::is_valid_target(); // plain RET (at 006d8b08/006d8b10); ECX entity (type +0x28, variant +0x2c, parent chain +0x3c0), no stack args
|
|
__fastcall Vector* Isaac::GetCollectibleSpawnPosition(Vector* outPosition, Vector* target); // plain RET (at 006eeced/006eed20); ECX out written and returned, EDX target read as float[2]; no stack args
|
|
__thiscall void PauseScreen_MyStuff::~PauseScreen_MyStuff(); // plain RET (at 008d2c91); ECX this (members +0x18..+0x644 torn down), no stack args
|
|
__thiscall void RoomConfig::ClearGeneratedRooms(); // plain RET (at 0082d497); ECX this (generated room list +0x1e20/+0x1e24), no stack args
|
|
__thiscall void Room::clear_reward_position(Vector* position); // RET 0x4 (at 007fa0d9); ECX Room, [ebp+8] position read and overwritten with FindFreePickupSpawnPosition result
|
|
__thiscall void Room::TurnGold(); // plain RET (at 00820bfe); ECX Room (_floorColor/_wallColor/_gridEntities), no stack args
|
|
__thiscall void Cutscene::ANM2Part::start(); // plain RET (at 0095f6ed); ECX part (+0x58 anim name, +0x70 music id, +0x80 ANM2), no stack args
|
|
__thiscall void Manager::create_render_surfaces(); // plain RET (at 0095191f); ECX Manager (+0x2a3c6 HQ4X option), no stack args
|
|
__thiscall bool GridEntity_Fire::Hurt(int damage, EntityRef* source); // RET 0x8 (at 0067ed2d); [ebp+0xc] dereferenced +0x24 (EntityRef._entity) for GetPlayerAncestor, returns 0/1
|
|
__thiscall void ItemConfig::constructor(); // plain RET (at 00724e93); ECX ItemConfig (vector headers, list/map heads), no stack args
|
|
__stdcall bool Entity_Familiar::multidimensional_baby_copy_knife(Entity_Knife* knife<ecx>, Entity* unused); // RET 0x4 (at 0096185c); ECX = the flying knife (GetRootParent/copy_parent_state on it), [ebp+8] never read (caller 00621151 push edi); returns 0/1
|
|
__fastcall bool NpcHelper::horny_boys_pick_position(Entity_NPC* npc); // plain RET (at 004bc8ab/004bc8b6); ECX npc (+0x334 _targetPosition, +0x33c _pos), EDX not read on entry; al=1 when a target was picked
|
|
__cdecl Entity* NpcHelper::hornfel_free_door(); // plain RET (at 004bb540); ECX zeroed before use, no stack reads; returns a random type-967 entity from the room list (or 0)
|
|
__thiscall LevelGenerator_Room* Level::get_door_neighbor_room(LevelGenerator_Room* outRoom, int roomIdx, int doorSlot); // RET 0xc (at 0074cd3e); [ebp+8] out constructed and returned, [ebp+0xc]/[ebp+0x10] passed to Level::GetNeighborRoomIdx
|
|
__stdcall void NpcHelper::chimera_charge_begin(Entity_NPC* npc<ecx>, Vector* target, float speed<xmm2>); // RET 0x4 (at 0049fa01); ECX npc (mov edi,ecx), XMM2 saved at entry and scales the normalized (target - pos) into +0x334, [ebp+8] target vector
|
|
__stdcall void GridEntity::trigger_output(GridEntity* gridEntity); // RET 0x4 (at 008231d0); ECX never read on entry, [ebp+8] grid entity (type +0x4, state +0xc, varData, sprite +0x40)
|
|
__thiscall void GridEntity_Fire::Render(Vector* offset); // RET 0x4 (at 0067ea4f); ECX fire, [ebp+8] float pair added to get_render_position (same shape as GridEntity_Rock::Render)
|
|
__thiscall void Console::Close(); // plain RET (at 00686a1f/00686acf); ECX console (state dword at +0, history deque +0x54..+0x64), no stack args
|
|
__cdecl void Manager::render_loading_icon(float alpha<xmm1>); // plain RET (at 00952400); ECX zeroed before use (reads g_manager), XMM1 stored at entry and used as the icon color alpha; callers Game::Render/MenuManager::Render during fade-in
|
|
__thiscall void Entity_Effect::update_wave_chain(); // plain RET (at 005d420c); ECX effect (+0x420 dir, +0x428..+0x448 wave params, +0x33c pos), no stack args
|
|
static cleanup void GameStateReader::read_bool_vector(void* reader<ecx>, void* bits<edx>, unsigned int minSize); // plain RET (at 009c85cf) but reads [ebp+8]; ECX reader {[0] stream vtbl+0x14, +0xc Checksum}, EDX std::vector<bool>, [ebp+8] minimum size for vector_bool_resize
|
|
__stdcall void GameStateReader::read_int_vector(void* reader<ecx>, int* values); // RET 0x4 (at 009d864a); ECX reader {[0] stream vtbl+0x14, +0xc Checksum} (mov ebx,ecx), [ebp+8] std::vector<int> replaced and filled
|
|
__thiscall void Entity_Player::ModelingClay_roll(RNG* rng); // RET 0x4 (at 007dbe68); ECX player (_modelingClayEffect), [ebp+8] RNG {seed, shift1..3} advanced in place, seed -> ItemPool::GetSeededCollectible
|
|
__thiscall void Menu_Mods::reset(); // plain RET (at 008e4a1d); ECX menu (ANM2 at +0x10, +0x128 mod manager copy), no stack args
|
|
__thiscall void Entity::Kill(EntityRef* source); // RET 0x4 (at 006acaf6); vtable slot 9, [ebp+8] +0x24 (EntityRef._entity) -> GetPlayerAncestor for kill stats; same shape as Entity_Familiar::Kill
|
|
__thiscall void Weapon_Bone::ClearReferences(); // plain RET (at 009feeaa); ECX weapon (entity refs at +0x8, +0x44..+0x50, +0x54, +0x58), no stack args
|
|
__thiscall bool Entity_Familiar::TakeDamage(float damage, unsigned long long damageFlags, EntityRef* source, int damageCountdown); // RET 0x14 (0062cdc0..0062d290); vtable slot 8, same shape as Entity::TakeDamage; flags low dword |0x40/0x41, forwards to Entity::TakeDamage or player vtable +0x20
|
|
__thiscall void Entity_Text::Render(Vector* offset); // RET 0x4; vtable slot 5, ECX entity; [ebp+8] float pair added to the screen position
|
|
__thiscall void Entity_Text::Update(); // plain RET; vtable slot 3, ECX entity, no stack args
|
|
__thiscall bool Entity_Player::spawn_ghost_corpse(); // plain RET; ECX player (spawner of effect 1000.6), returns 1
|
|
__thiscall Entity_Laser* Entity_Player::FireDelayedBrimstone(float angle, Entity* parent); // RET 0x8; Lua EntityPlayer:FireDelayedBrimstone(Angle, Parent): [ebp+8] angle -> ShootAngle, [ebp+0xc] parent pos/velocity
|
|
__thiscall void Menu_OnlineLobby::change_character(int step, bool isReloadSprite); // RET 0x8; step 0x3e9 toggles tainted, else +-1; byte [ebp+0xc] reloads the member sprite
|
|
__thiscall void Entity_Projectile::Init(int type, int variant, int subType, unsigned int initSeed); // RET 0x10; vtable slot 1, forwards all four to Entity::Init
|
|
__thiscall void Entity_Familiar::siren_charm(Entity* siren, Entity_Player* player); // RET 0x8; [ebp+8] becomes the helper's spawner (+0x3bc), [ebp+0xc] passed to set_player
|
|
__thiscall void Entity_Player::RenderGlow(Vector* position); // RET 0x4; [ebp+8] forwarded to Sprite::RenderLayer
|
|
__thiscall Vector* Room::compute_overlay_texcoords(Vector* outCoords, Vector* worldPos, void* image, void* imageRefCount); // RET 0x10; by-value SmartPointer (image, refcount) released at the end; returns out
|
|
__thiscall bool Weapon_Bone::CanOverrideForgottenThrow(); // plain RET; vtable slot 16, ECX weapon, returns 0/1 in al
|
|
__stdcall void GameStatePlayer::write_block_538(unsigned short* block<ecx>, void* stream); // RET 0x4; ECX = GameStatePlayer+0x538 (not the GameStatePlayer itself), [esp+4] stream
|
|
__stdcall bool GameStatePlayer::read_coplayer(unsigned short* block<ecx>, void* stream); // RET 0x4; ECX = record of ushorts, [esp+4] stream, returns 1
|
|
__thiscall bool Level::CanOpenChallengeRoom(int roomIdx); // RET 0x4; Lua Level:CanOpenChallengeRoom(roomIndex), [ebp+8] -> GetRoomByIdx
|
|
__thiscall void StageTransition::Render(); // plain RET; ECX = Game+0x1ba78
|
|
__thiscall void Menu_OnlineLobby::unload_graphics(); // plain RET; ECX = MenuManager+0xdce8
|
|
__thiscall void Menu_Options::render_counter(int value, int unused, Vector position); // RET 0x10; [ebp+8] value (sign handled), [ebp+0xc] never read, [ebp+0x10..0x14] x/y passed by address to AnimationState::Render
|
|
__thiscall bool Entity_Familiar::abyss_locust_eat(); // plain RET; ECX familiar (variant 231), returns 0/1
|
|
__thiscall std_string* Level::GetName(std_string* outName); // RET 0x4; Lua Level:GetName, [ebp+8] out string returned
|
|
__thiscall void Menu_Bestiary::Update(); // plain RET; ECX = MenuManager+0xd4d0
|
|
__fastcall void NpcHelper::willo_orbit(Entity_NPC* npc); // plain RET; ECX npc moved to esi, no EDX/stack reads
|
|
__thiscall void PauseScreen::update_trinket_display(); // plain RET; ECX pause screen (mov ecx,edi in update_items_menu)
|
|
__thiscall void PauseScreen::update_player_info_page(); // plain RET at 008d15ff; ECX pause screen (reads _state, +0x10d/+0x221/+0x14c), no stack args
|
|
__thiscall void Backdrop::destructor(); // plain RET at 009327ff; ECX = Room+0x1bc8 backdrop, no stack args
|
|
__thiscall void Entity_Familiar::MoveDelayed(int numFrames); // RET 0x4; [ebp+8] history length (modulo for _moveDelayNum), Lua EntityFamiliar:MoveDelayed(NumFrames)
|
|
__thiscall void PauseScreen::update_stuff_arrows(); // plain RET (009b80d2/009b8122); ECX pause screen (+4 mode, +0x24 scroll, +0xfac player idx)
|
|
__thiscall void PlayerManager::store_game_state(GameState* state); // RET 0x4; ECX player list (begin/end at +0/+4, twin slots +0x80), [ebp+8] state (+0x19d78 count, +0x19d7c 0x5dc-byte player entries)
|
|
__fastcall void NpcHelper::twitchy_jump_target(Vector* outTarget, Entity_NPC* npc); // plain RET at 004db698; mov esi,ecx (out vector written) / mov ebx,edx (npc -> CalcTargetPosition, GetPlayerTarget)
|
|
__thiscall void Entity_Player::AnimateTrinket(int trinketId, char* animName, char* spriteAnimName); // RET 0xc; same shape as AnimateCollectible: [ebp+8]&0x7fff indexes trinket configs, [ebp+0x10] held sprite anim, [ebp+0xc] PlayExtraAnimation
|
|
__thiscall int Menu_Stats::render_number(unsigned int value, Vector position); // RET 0xc; [ebp+8] value (/10 digit loop), [ebp+0xc..0x10] passed by address to AnimationLayer::RenderFrame as a Vector
|
|
__stdcall Entity* NpcHelper::clutch_find_farthest_orbital(Entity_NPC* clutch<ecx>, int unused); // RET 0x4; mov ebx,ecx (clutch), [ebp+8] never read; callers 0057337c push ecx; mov ecx,edi
|
|
__thiscall void Room::UpdateGreedWave(); // plain RET (00801fdb/008020cd); ECX room (_greedWaveTimer, _roomType, _descriptor), no stack args
|
|
__thiscall void Room::render_water_overlay(Vector* offset); // RET 0x4; ECX room (+0x6ae0..+0x6aec rect), [ebp+8] float pair + 52.0 -> quad position
|
|
__stdcall void NpcHelper::horny_boys_render(Entity_NPC* npc<ecx>, Vector* offset); // RET 0x4; ECX npc -> Entity::Render(npc, [ebp+8]), offset added to _renderPosition
|
|
__thiscall void* ANM2::GetNullFrame(char* animName, char* nullLayerName, int frame); // RET 0xc; [ebp+8] -> GetAnimationData, [ebp+0xc] compared to null layer names, [ebp+0x10] frame idx, returns frame ptr (idx*0x54) or 0
|
|
__stdcall void NpcHelper::siren_familiar_counts(int* outFreeCount, int* outCharmedCount, int* outTotalCount); // RET 0xc at 0058e581; [ebp+8/0xc/0x10] zeroed then counted, ECX overwritten first; callers 0058e6f1 push x3, no add esp
|
|
static cleanup float* Entity_Familiar::umbilical_rope_force(float* outForce<ecx>, float* position<edx>, float* velocity, float* prevNode, float* nextNode, float restLength); // plain RET at 00435129; mov esi,ecx / mov ebx,edx, [ebp+8..0x14] read, mov eax,esi at end
|
|
__stdcall Entity_NPC* NpcHelper::UltraDoor_Opposite(Entity_NPC* door, EntityList_EL doors); // RET 0x14 at 0059e725; [ebp+8] door (+0xbc0 slot), [ebp+0xc] EL owns flag, [ebp+0x10] data (freed), [ebp+0x18] size: by-value 16-byte EntityList_EL
|
|
__thiscall void Entity_NPC::UpdateChildEffectPosition(bool isPredictMovement); // RET 0x4; byte [ebp+8] != 0 adds prev velocity*0.5*speed to the effect position
|
|
__thiscall Entity_Effect* Weapon::fire_brimstone_ball(Vector* position, Vector* velocity, Vector* offset, unsigned int unk1, unsigned int unk2, Entity* unk3); // RET 0x18 at 009f6c4c; forwards all six to Entity_Player::FireBrimstoneBall (same RET 0x18)
|
|
__thiscall int Room::GetRandomTileIndex(unsigned int seed); // RET 0x4; [ebp+8] seed -> LRoomTileDesc::GetRandomTile / RNG _seed, Lua Room:GetRandomTileIndex(Seed)
|
|
__thiscall Entity_Laser* Weapon::fire_tech_x_laser(Vector* position, Vector* velocity, float radius<xmm3>, float damageMultiplier); // RET 0xc; movaps xmm0,xmm3 (radius -> _radius), [ebp+8] pos, [ebp+0xc] vel, [ebp+0x10] float forwarded to Entity_Player::FireTechXLaser
|
|
__fastcall int NpcHelper::hornfel_next_rail_index(Entity_NPC* npc); // plain RET; mov esi,ecx (reads +0x334/+0x338), EDX overwritten (mov edx,[g_game+0x18300]) before read, no stack args
|
|
static cleanup void Backdrop::spawn_detail_effects(void* backdrop<ecx>, Vector* offset<edx>, bool isFlipX, bool isFlipY); // plain RET at 0093b75b; ECX backdrop (+0x30 sprite, +0x88 null count), EDX offset, byte [ebp+8]/[ebp+0xc] mirror x/y; caller 0093cfb3 add esp,8
|
|
__thiscall std_string* ItemConfig_Card::get_display_desc(std_string* outDescription, int unused); // RET 0x8 (00724c09/00724caa); same body as ItemConfig_Item::get_localized_description with "PocketItems", [ebp+0xc] never read
|
|
__fastcall void GameState::write_bool_vector(void* stream, void* bits); // plain RET at 009c86d2; ECX stream (vtable +0x1c write, checksum +0xc), EDX bit vector (+0xc count); caller 009ca77c mov ecx,ebx; lea edx,[esi+0x1e714]
|
|
__thiscall Entity_Pickup* Room::spawn_options_alternative(Entity_Pickup* pickup); // RET 0x4; ECX room saved at [ebp-8], [ebp+8] source pickup (moved, and returned); spawns the second Options pickup
|
|
__thiscall void Entity_Player::play_item_costume_anim(void* matchFn, ItemConfig_Item* item, int unused, std_string* animName, int frame); // RET 0x14 (at 0075aefd); [ebp+8] never read (caller 0079de25 pushes 0x75a2b0 = Weapon::is_held_item, which the body calls directly), [ebp+0xc] item, [ebp+0x10] unused (push 0), [ebp+0x14] anim, [ebp+0x18] frame; Weapon::play_brimstone_costume_shoot passes GetCollectible(0x76)
|
|
__thiscall bool Room::TrySpawnTheVoidDoor(bool isForce); // RET 0x4 (at 0082061e); byte [ebp+8] skips the stage/room-type/challenge checks; ECX room (door slot 5)
|
|
__thiscall bool Entity_Laser::damage_grid_entity(int gridIndex, int unused, Vector* direction); // RET 0xc (at 00971798); reads [ebp+8] grid index and [ebp+0x10] direction (Vector::ToCardinal), [ebp+0xc] never read (callers push leftover ECX/offset); ECX laser; returns 1/0 or the grid vfunc +0x10 result
|
|
__thiscall void Entity_Effect::render_player_target(Vector* offset, int segmentMode); // RET 0x8 (at 00435582); [ebp+8] render offset added to every beam point, [ebp+0xc] 1 = first half of the points, 2 = second half, else all; caller 00435130 passes (offset, flag & 2)
|
|
__stdcall Entity* NpcHelper::horny_boys_pull_entity(Entity_NPC* npc<ecx>, int slot, Vector* targetPos); // RET 0x8 (at 004bcb13); ECX npc (deque +0xbf4/+0xbf8/+0xbfc), [ebp+8] slot index, [ebp+0xc] target pos; returns the pulled bomb (type 4) or 0, clears the slot
|
|
__thiscall void* Level::get_rooms_within_two_doors(void* outRooms, int roomIdx); // RET 0x8 (at 00749823); ECX level saved at [ebp-0x10], [ebp+8] std::set<int> out (head node allocated, returned in eax), [ebp+0xc] start room idx; callers Level::ChangeRoom, Level::Init
|
|
__stdcall void NpcHelper::hornfel_room_controller(Entity_Effect* effect<ecx>); // plain RET, no stack args; ECX effect 1000.152 (state +0x450, timers +0x45c/+0x460); caller Entity_Effect::Update 005da269 mov ecx,effect; call; jmp (EAX unused)
|
|
__thiscall bool Entity_Pickup::TakeDamage(float damage, unsigned long long damageFlags, EntityRef* source, int damageCountdown); // RET 0x14 at 006ede95/006edf58/006edf8e; vtable slot 8 like Entity::TakeDamage; flags low dword tested &0x1000004, source+0x24 = EntityRef._entity (GetPlayerAncestor / GetLastSpawner), [ebp+0x18] never read; returns 0
|
|
__thiscall Entity_Laser* Entity_Familiar::fire_robo_baby_laser(Vector* direction); // RET 0x4 (at 00613c59); [ebp+8] shot direction (x/y read, atan2 -> ShootAngle angle), returns the Entity_Laser from Entity_Laser::ShootAngle (or 0)
|
|
__thiscall bool PersistentGameData::LoadFromSteamCloud(); // plain RET (at 00926da0); ECX PersistentGameData (_saveFile, filename std::string +0x20), returns _isFileLoaded
|
|
__thiscall int Entity_Player::get_costume_anim_frame(void* matchFn, ItemConfig_Item* item, int unused); // RET 0xc (at 0075ad0c); only [ebp+0xc] read (to Weapon::is_held_item); caller 0079de0a push 0; push nullItemConfig; push 0x75a2b0 (Weapon::is_held_item); returns floor(anim frame), -1 or 0
|
|
__thiscall void Level::RemoveCurses(unsigned int curses); // RET 0x4 (at 00748d37); [ebp+8] curse mask (bits 0x82 kept), challenge forced/prevented curses re-applied; Lua Level:RemoveCurses
|
|
__thiscall void GridEntity_Poop::Render(Vector* offset); // RET 0x4 (at 007152a0); [ebp+8] offset x/y added to get_render_position (REPENTOGON Render(Vector& Offset))
|
|
__cdecl void NpcHelper::rainmaker_drop_timer_launch(Entity_Effect* timer); // plain RET (after 00578814 pop ebp); Entity_Effect::CreateTimer callback (rainmaker_spawn_homing_drop mov ecx,0x5785a0); ECX never read, [ebp+8] timer effect: child +0x3bc projectile, target +0x3c4, spread +0x474, lead +0x478
|
|
__thiscall Entity_Laser* Entity_Familiar::sprinkler_shoot_laser(float angle<xmm1>, float distance<xmm2>); // plain RET (at 0063b061); caller FamiliarAI::sprinkler 006365e0 movss xmm2,[0xbaa87c]; movaps xmm1,angle; mov ecx,familiar; xmm1 degrees -> ShootAngle, offset (cos,sin)*xmm2 - 32; returns the laser
|
|
static cleanup void EntityConfig_Player::copy_constructor(EntityConfig_Player* dst<edx>, EntityConfig_Player* src); // plain RET (at 0069e8b0); mov edi,edx = dst, [ebp+8] src; caller 0069b2b2 push src; mov edx,end; call; add esp,4 (EntityConfig::load_players_xml push_back)
|
|
__thiscall void Room::update_ambient_spawns(); // plain RET (at 00824869); ECX room: rain intensity (_rainIntensity/_isRainStopped/_numRainSpawners) and 1000.135 rain drop spawns
|
|
__thiscall void Entity_Player::TriggerBookOfVirtues(int collectibleId, int charge); // RET 0x8 (at 005ca599); REPENTOGON/Lua shape (Type, Charge); only [ebp+8] read here (0x61 = The D6 -> random wisp from table 00b62c9c), wisp count from ItemConfig::get_wisp_config +400, doubled by Car Battery 0x164
|
|
__thiscall Vector* PlayerManager::get_player_start_position(Vector* outPosition, Entity_Player* player, Vector* basePos, int unused); // RET 0x10 (at 009bc78d); [ebp+8] out (returned), [ebp+0xc] player (+0x161c index), [ebp+0x10] base pos (zero -> Room::GetCenterPos); [ebp+0x14] never read (Entity_Player::level_start 007a4c68 pushes the ECX PlayerManager pointer again)
|
|
__thiscall void PlayerManager::add_lost_curse(int nullItemId); // RET 0x4 (at 009be97f); caller Entity_Player::TakeDamage 00772bc7 push 0x70; lea ecx,[game+0x1baa8]; the body never reads [ebp+8] (null item 0x70 is folded in: _nullItems +0x1c0, effect check id 0x70), ECX playerList begin/end
|
|
__thiscall void RoomTransition::~RoomTransition(); // plain RET (at 0082ecec); ECX = Game+0x1b83c (_roomTransition): SmartPointer resets, multiset +0x234, tree +0x224, ANM2 +0x38, render targets +0x28/+0x30
|
|
__stdcall void NpcHelper::chimera_render_child(Entity_NPC* npc<ecx>, Vector* offset); // RET 0x4 (at 004a11ab); ECX chimera (type 0x38e), [ebp+8] forwarded to the child's vtable +0x14 Render(offset)
|
|
__thiscall void Menu_Save::unload_graphics(); // plain RET (at 009dad1f, also 009d9551 under the same name); ECX menu: ANM2::Reset of its sprites
|
|
__thiscall void Menu_CreateLobby::unload_graphics(); // plain RET (at 008cbd56); ECX = MenuManager+0xedd8: ANM2::Reset this and 6 more ANM2
|
|
__cdecl ColorMod* Entity::Color(ColorMod* outColor, Entity* entity); // plain RET (at 00871f6f); Lua property getter Entity.Color: [ebp+8] out (returned in eax), [ebp+0xc] entity (sprite color +0x1b8, 0x2c bytes) or default when null
|
|
__thiscall Vector* Camera::soft_clamp_position(Vector* outPosition, float x, float y); // RET 0xc (at 009437c4/009437d9); ECX camera, [ebp+8] out (mov eax,[ebp+8] before each ret), [ebp+0xc]/[ebp+0x10] x/y floats eased into get_clamp_bounds
|
|
__thiscall void Entity_Familiar::store_backup(void* backup); // RET 0x4 (at 00630552); [ebp+8] 0x34-byte familiar backup record (seed, variant, subtype, coins, hearts, keys, state ...) filled from ECX familiar
|
|
__stdcall float<xmm0> NpcHelper::visage_score_position(Entity_NPC* npc<ecx>, Vector* position); // RET 0x4 (at 005a7914); mov esi,ecx = Visage npc, [ebp+8] candidate pos; returns the score in xmm0 (caller 005a794a movss [esp+0x1c],xmm0; 005a7ad5 comiss xmm0,best)
|
|
__stdcall void NpcHelper::mother_render(Entity_NPC* npc<ecx>, Vector* offset); // RET 0x4; ECX npc (+0x2c variant, +0x33c pos, +0x3bc parent), [ebp+8] render offset forwarded to Entity::Render
|
|
__fastcall bool ItemPool::should_force_magic_skin(unsigned int seed); // plain RET (5x); ECX = RNG seed (xorshift, "RNG Seed is zero!"), no stack args; al = result
|
|
__stdcall Vector* FamiliarHelper::fly_head_pick_side_offset(Entity_Familiar* familiar<ecx>, Vector* outOffset, Entity* target); // RET 0x8; ECX familiar, [ebp+8] out Vector returned, [ebp+0xc] target entity (+0x33c pos, +0x370 size)
|
|
__thiscall void GridEntity_Pit::Render(Vector* offset); // RET 0x4; [ebp+8] offset added to get_render_position (REPENTOGON Vector& Offset)
|
|
__fastcall void NpcHelper::willo_attack(Entity_NPC* npc); // plain RET (2x); ECX npc, no stack args
|
|
__cdecl Entity_Laser* FamiliarHelper::sprinkler_fire_laser(Entity_Familiar* familiar<ecx>, float angle<xmm1>, float distance<xmm2>); // plain RET; ECX familiar, XMM1 angle degrees, XMM2 offset distance, no stack args
|
|
__stdcall void Backdrop::render_wall_borders(Vector* roomTopLeft, Vector* roomSize); // RET 0x8; [ebp+8] room top-left Vector, [ebp+0xc] size Vector (x,y read as floats)
|
|
__thiscall void Entity_NPC::~Entity_NPC(); // plain RET; ECX this (vftable store), no stack args
|
|
__thiscall void Console::get_visible_line_range(unsigned int* outRange); // RET 0x4; ECX console (+0x40..+0x50 history deque), [ebp+8] out pair (first line, offset)
|
|
__thiscall void StageTransition::update_player_trapdoor_scale(Entity_Player* player, bool isFast); // RET 0x8; ECX transition (+0x10 state), [ebp+8] player, byte [ebp+0xc] rate 1.0/1.5
|
|
__stdcall void NpcHelper::hornfel_launch_toward(Entity_NPC* npc<ecx>, Entity* entity, Vector* targetPos); // RET 0x8; ECX npc, [ebp+8] launched entity, [ebp+0xc] target position
|
|
__thiscall void EntityFactory::constructor(); // plain RET; ECX this, eh_vector_constructor_iterator over the pools
|
|
__thiscall void PersistentGameData::write_file(char* path); // RET 0x4; ECX this (+4 save file), [ebp+8] path to open_file_write
|
|
__thiscall void Entity_Pickup::~Entity_Pickup(); // plain RET; ECX this (vftable store), no stack args
|
|
__thiscall LayerState* ANM2::get_layer_by_string(std_string* name); // RET 0x4; [ebp+8] std::string (+0x10 size, +0x14 capacity), returns LayerState* or 0
|
|
__thiscall void Room::open_red_room_doors(int doorSlot, RoomDescriptor* targetRoom); // RET 0x8; [ebp+8] indexes _redDoorOutlines, [ebp+0xc] descriptor (+4 SafeGridIndex, +0x10 Data) or 0
|
|
__stdcall void NpcHelper::willo_get_target_pos(Entity_NPC* npc<ecx>, Vector* outPos, float* outSpread); // RET 0x8; ECX npc (+0x3bc parent), [ebp+8] out Vector, [ebp+0xc] optional float out (player spread)
|
|
__thiscall int Level::GetNonCompleteRoomIndex(); // plain RET; ECX level, no stack args (Lua binding)
|
|
__thiscall void GridEntity_Wall::Render(Vector* offset); // RET 0x4; [ebp+8] offset added to get_render_position (REPENTOGON Vector& Offset)
|
|
__thiscall int Level::QueryRoomTypeIndex(int roomType, bool isVisited, RNG* rng, bool isIgnoreGroup); // RET 0x10; ECX level, [ebp+8] room type, byte [ebp+0xc] visited compare, [ebp+0x10] RNG for Shuffle, byte [ebp+0x14] skips Group check
|
|
__thiscall BackdropConfig* BackdropConfig::operator_assign(BackdropConfig* other); // RET 0x4; ECX dest <- [ebp+8] field/string copies, mov eax,esi (this)
|
|
__fastcall int RoomConfig::GetStageIdByName(std_string* name); // plain RET; mov ebx,ecx = std::string name, EDX not read, no stack args; eax = stage id or 0
|
|
__stdcall void GameState::write_item_pool(void* itemPools<ecx>, void* stream); // RET 0x4; ECX = GameState+0x1e3cc (mov eax,ecx), [ebp+8] stream (+0xc checksum)
|
|
__thiscall RoomDescriptor* RoomDescriptor::move_constructor(RoomDescriptor* other); // RET 0x4; ECX dest, [ebp+8] source (vectors stolen), returns this
|
|
__cdecl int Isaac::GetPlayer(lua_State* L); // plain RET; lua_CFunction, [ebp+8] lua state, eax = result count
|
|
__thiscall void Menu_ModChallenges::reset(); // plain RET; ECX menu (+0x10 ANM2, +0x40 anim state), no stack args
|
|
__thiscall void GridEntity_Decoration::Render(Vector* offset); // RET 0x4; [ebp+8] offset added to get_render_position (REPENTOGON Vector& Offset)
|
|
__thiscall void Menu_Options::load_menu_anm2(); // plain RET; ECX menu (+0x24 ANM2), no stack args
|
|
__thiscall void PauseScreen::update_items_menu(); // plain RET (3x, 008d3360..008d3640); ECX PauseScreen (+0x14 tab, +0x38 item, +0x304 ANM2), no stack args
|
|
__thiscall ColorMod* Entity_Laser::get_tear_spawn_color(ColorMod* outColor); // RET 0x4; ECX laser (_variant, _sprite._color), [ebp+8] 0x2c-byte ColorMod written and returned
|
|
__fastcall void NpcHelper::hornfel_ride_minecart(Entity_NPC* npc); // plain RET (3x); mov esi,ecx at 004b8a58, EDX unread, no stack args; ECX = Hornfel (+0xb64 state, +0x3d4 _minecart, +0xbec _entityRef)
|
|
__thiscall Entity_Tear* Entity_Tear::find_link_partner(); // plain RET at 0067a8f0..0067aaf0; ECX tear, returns nearest linkable tear or 0
|
|
__stdcall void NpcHelper::siren_charm_familiar(Entity_NPC* npc<ecx>, Entity_Familiar* familiar); // RET 0x4; mov esi,ecx (siren, spawner of the two 1000.165 effects), [ebp+8] familiar (+0x168 flags, pos/velocity)
|
|
__fastcall void NpcHelper::visage_spawn_chain(Entity_NPC* npc); // plain RET; ECX visage saved to [ebp-0x10] and ebx, no stack args, EDX unread
|
|
__thiscall RoomConfig_Room* RoomConfig::GetRandomSplitRoom(unsigned int seed, bool reduceWeight, int stage, int roomType, int roomShape, unsigned int minVariant, int maxVariant, int minDifficulty, int maxDifficulty, unsigned int* requiredDoors, unsigned int roomSubtype, int mode); // RET 0x30 (3x); same 12 args as RoomConfig::GetRandomRoom, forwarded to two GetRandomRoom calls then MergeRoomsIntoGenerated(roomShape); ECX RoomConfig
|
|
__thiscall Vector* Camera::get_enemy_focus_offset(Vector* outOffset); // RET 0x4; ECX camera (_room), [ebp+8] out Vector zeroed, summed and returned
|
|
__thiscall void Entity_NPC::update_physics(); // plain RET; ECX npc only
|
|
__thiscall void Entity_Laser::ClearReferences(); // plain RET; vtable slot 17, ECX laser only
|
|
__thiscall void PlayerHUD::set_active_charge_frame(int collectibleId, Entity_Player* player); // RET 0x8 (10x); [ebp+8] id compared to 0x2c7/0x11e/..., [ebp+0xc] player +0x13c0 type; ECX PlayerHUD (+0x154 AnimationState)
|
|
__thiscall void Entity_Player::trigger_fire_item_effects(Vector* direction, bool isShotFired); // RET 0x8 (3x); [ebp+8] forwarded to DoZitEffect(Vector*) and weapon vfunc +0xc, byte [ebp+0xc] gates Dead Tooth / Large Zit
|
|
__thiscall void Entity_Player::DoZitEffect(Vector* direction); // RET 0x4; ECX player, [ebp+8] direction (Lua EntityPlayer:DoZitEffect)
|
|
__thiscall std_string* Level::GetCurseNameByIdx(std_string* outName, unsigned int curseIdx); // RET 0x8 (2x); [ebp+8] out string returned, [ebp+0xc] index into the 0x1c-stride vector at ECX+0x1c54
|
|
__thiscall void Entity_Familiar::ai_orbital_variant_50(); // plain RET; ECX familiar only
|
|
__thiscall void Entity_Laser::update_endpoint_and_hits(); // plain RET (2x); ECX laser only
|
|
__stdcall void NpcHelper::hornfel_render_minecart(Entity_NPC* npc<ecx>, ANM2* minecartSprite, Vector* renderPos); // RET 0x8; mov esi,ecx (npc), [ebp+8] cart sprite, [ebp+0xc] position passed to AnimationLayer::RenderFrame
|
|
__thiscall Vector* Room::find_reachable_position(Vector* outPosition, Vector* position, int unused); // RET 0xc (2x); [ebp+8] out returned, [ebp+0xc] pos; [ebp+0x10] never read (Game::DevolveEnemy 007058d0 pushes ecx as a third arg)
|
|
__thiscall void Room::clear_grid_for_pickup(int* gridIndex); // RET 0x4 (2x); [ebp+8] grid index in/out (-1 when no free spot), ECX room
|
|
__thiscall bool Entity_Knife::drain_notched_axe(int charge); // RET 0x4 (2x); ECX knife, [ebp+8] negated into AddActiveCharge, al = 1 on drain
|
|
static cleanup Entity_NPC* NpcHelper::gaper_l2_spawn_maggot(Vector* origin<ecx>, float yOffset<xmm2>, Vector* velocity, float fallingSpeed); // plain RET; mov esi,ecx / movss [ebp-8],xmm2 at entry, eax = maggot at 004d8f04; this is REPENTOGON's Entity_NPC::ThrowMaggot (same register layout)
|
|
__thiscall RoomDescriptor* Level::get_secret_exit_room(int kind); // RET 0x4; [ebp+8] 4 -> boss room subtype 90, else secret exit of that subtype; returns the descriptor
|
|
__thiscall void Entity_Laser::Remove(); // plain RET; vtable Remove, ECX laser only
|
|
__cdecl std_string* Isaac::ExecuteCommand(std_string* outResult, std_string* command); // plain RET (2x), ECX not read (esi = g_game); [ebp+8] out returned, [ebp+0xc] forwarded to Console::RunCommand
|
|
static cleanup void Gamepad_updatePOVAxes(void* device<ecx>, int axis<edx>, unsigned int povValue); // plain RET; mov edi,ecx / mov esi,edx at entry, [ebp+8] POV centi-degrees (0xffff = centered); writes device+0x18 axis floats
|
|
__stdcall void NpcHelper::UltraGreed_Heal(Entity_NPC* npc<ecx>, int amount); // RET 0x4; ECX npc (+0xbc4 i2, +0x380 hp), [ebp+8] amount
|
|
__thiscall void HUD_Message::~HUD_Message(); // plain RET; ECX message only
|
|
__fastcall int NpcHelper::siren_charmed_count(Entity_NPC* npc); // plain RET; mov [ebp-0x10],ecx at 0058e5b8 (the dump's local_14, read at +0xf40); caller NpcHelper::siren_pick passes the siren in ECX
|
|
__thiscall unsigned int Backdrop::get_random_floor_variant(); // plain RET (5x); ECX backdrop (+0x150 type, +0x4f28 RNG), no stack args
|
|
__thiscall bool Entity_Laser::get_segment_start_dir(Vector* outPosition, Vector* outDirection, float distance<xmm1>); // RET 0x8 (3x); movaps xmm0,xmm1 at 0096d16c (the dump's in_XMM1_Da), returns 1 only when the sample walk hits distance
|
|
__thiscall void Manager::start_pending_game(); // plain RET at 00959cf8; ECX manager (_starting, _networkPlay, _framecount), no stack args
|
|
static cleanup void NpcHelper::min_min_willo_count(Entity_NPC* minMin<ecx>, int* outWilloCount<edx>, int* outOwnedCount); // plain RET at 004cf681; mov ebx,ecx / mov esi,edx at entry, [ebp+8] out count of Willos whose parent (+0x3bc) is ECX
|
|
__thiscall void BackdropConfig::copy_constructor(BackdropConfig* other); // RET 0x4 at 00934765; ECX dest, [ebp+8] source 0x13c-byte entry
|
|
__thiscall void PlayerManager::trigger_coop_baby_death(Entity_Player* deadPlayer); // RET 0x4 (009bc1b2/009bc273); ECX player manager (_playerList), [ebp+8] player
|
|
__thiscall bool Entity_Player::CanPickBlackHearts(); // plain RET (007c35fa..007c3617); ECX player, bool in AL
|
|
__thiscall void Entity_Familiar::update_star_of_bethlehem_speed(bool isForce); // RET 0x4 (5x, 0064d2e5..0064d365); cmp byte [ebp+8],0 at entry skips the distance compare
|
|
__thiscall void ItemPool::ResetTrinkets(); // plain RET at 00736b9f; ECX item pool, no stack args
|
|
static cleanup Entity* NpcHelper::spawn_tracer_effect198(Vector* position<ecx>, Vector* direction<edx>, int unused, ColorMod* color, float scale); // plain RET (0060bac9); mov edi,ecx / mov ebx,edx; [ebp+8] never read, [ebp+0xc] color, [ebp+0x10] scale; caller ENTITY_FLY 00507146 push eax; push ecx with [esp]=4.0f, direction (1,0)/(0,1)/(-1,0)
|
|
__fastcall void NpcHelper::hornfel_charge(Entity_NPC* npc); // plain RET (004b7e88..004b7ede); reads [ecx+0xb64] state and minecart [ecx+0x3d4] velocity; EDX written (lea edx,[ecx+0x48]) before read
|
|
__thiscall void Room::reload_backdrop(); // plain RET at 007f20d3; mov esi,ecx then LoadBackdropGraphics(room)
|
|
__thiscall void Entity_Text::Init(int type, int variant, int subType, unsigned int seed); // RET 0x10 (4x, 005ccd2a..005ccd75); vtable slot 1, forwards the four stack args to Entity::Init
|
|
__thiscall void Entity_Player::trigger_vampire_charm_kill(); // plain RET at 007d3473; ECX player, no stack args
|
|
__thiscall Entity_Knife* Weapon::fire_bone_club(Entity* parent, unsigned int variant, bool isUnk, int unused1, int unused2, float unk2<xmm3>); // RET 0x14 at 009f6b66; forwards [ebp+8..0x10] and xmm3 to Entity_Player::FireBoneClub(.., this); [ebp+0x14/0x18] never read, callers 009faff5 sub esp,8 then push 1; push esi; push [edi+4]
|
|
__stdcall void Entity_Familiar::set_extra_data(void* extraDataPtr<ecx>, void* extraData); // RET 0x4 at 0043587b; ECX is a {data, ReferenceCount*} smart pointer slot, [ebp+8] stored in both
|
|
__cdecl int Isaac::GetEntityTypeByName(std_string* name); // plain RET; [ebp+8] name, walks g_manager->_entityConfig._entities backwards, 0 when not found
|
|
__stdcall int ItemPool::GetCard(unsigned int seed, bool isPlaying, bool isRunes, bool isOnlyRunes); // RET 0x10 at 007348f6; ECX overwritten (lua table) before read; eax = lua_callback_run_get_card result
|
|
__thiscall bool Entity_Player::CanPickRedHearts(); // plain RET (007c3446..007c345f); ECX player
|
|
__thiscall void Entity_Tear::apply_wiggle(float strength<xmm1>); // plain RET at 006669fe; movss [esp+0x14],xmm1 at entry, multiplies the cos offset; caller Entity_Tear::Interpolate 00679938 movaps xmm1,xmm0; mov ecx,edi
|
|
__thiscall void Weapon_UrnOfSouls::Free(unsigned char flags); // RET 0x4 at 009f9873; scalar deleting dtor, flags&1 -> operator_delete(this,0x54)
|
|
static cleanup void NpcHelper::bouncer_death_gib(Entity_Effect* timer); // plain RET at 00501f28; ECX never read, [ebp+8] timer effect (+0x33c pos); Entity_Effect::CreateTimer callback
|
|
__stdcall void Manager::render_button_sprite(int frame, Vector position); // RET 0xc at 0095ade4; ECX overwritten ([ebp+0x10] -> ecx) before use, reads g_manager; [ebp+8] frame, [ebp+0xc/0x10] position by value
|
|
__thiscall bool GridEntity_Spikes::is_disabled(); // plain RET (0071e99d/0071e9a1); ECX spikes grid (+4 type, +8 variant)
|
|
__cdecl int Isaac::GetTrinketIdByName(std_string* name); // plain RET; [ebp+8] name, -1 when not found
|
|
__fastcall bool NpcHelper::candler_is_free_cell(Vector* position); // plain RET (004e4957/004e495c); ECX pos (x,y) -> grid cell, EDX unread
|
|
__fastcall int Room::greed_shop_slot_type(unsigned int seed); // plain RET (11x from 00813d22); mov eax,0xcccccccd; mul ecx: ECX is a seed, not a Room
|
|
__thiscall bool Entity_Pickup::TryThrow(EntityRef* source, Vector* direction, float force); // RET 0xc at 006e38c0; vtable slot 21, REPENTOGON Entity::TryThrow(const EntityRef&, Vector*, float); [ebp+0x10] stored negated at +0x6e8
|
|
__cdecl int Isaac::GetCurseIdByName(std_string* name); // plain RET; [ebp+8] name, -1 when not found
|
|
__fastcall int NpcHelper::tuff_twins_spawn_count(Entity_NPC* npc); // plain RET at 005999a3; ECX npc (+0x2c variant), EDX zeroed before read
|
|
__thiscall void Weapon_Laser::Free(unsigned char flags); // RET 0x4 at 009f99a2; scalar deleting dtor, flags&1 -> operator_delete(this,0x50)
|
|
__thiscall bool GridEntity::Destroy(bool isImmediate); // RET 0x4 at 0085de85; builds an empty EntityRef and tail-calls vtable +0x14 (Destroy(bool, EntityRef*)), eax passthrough
|
|
__thiscall float<xmm0> Entity_NPC::compute_speed_multiplier(); // plain RET (006b9b96/006b9ba3); movss xmm0,[esp+0x10] before ret, Entity_NPC::Update stores xmm0 in _speedMultiplier
|
|
__thiscall void GridEntity_Door::BeginBatches(); // plain RET at 00711624; vtable slot 8, ECX door
|
|
__thiscall float Weapon_Tears::GetMaxCharge(); // plain RET (00a0d941/00a0d947); x87 return (fld [ebp-4] / fldz); ECX weapon (+0x10, +0x34 flags)
|
|
__stdcall Entity_NPC* Game::SpawnEntityDesc(EntityDesc* desc, Vector* position, Entity* spawner); // RET 0xc at 006fed52; ECX overwritten with g_game before use; [ebp+8] desc (type, variant, subtype, champion, health, maxHP)
|
|
__stdcall void GameStatePlayer::read_block_538(unsigned int* block<ecx>, void* stream); // RET 0x4; ECX = GameStatePlayer+0x538 block (mov ebx,ecx), [ebp+8] stream; reader of write_block_538
|
|
__thiscall void PlayerManager::trigger_level_start(); // plain RET; ECX = PlayerManager (players vector at [ecx]/[ecx+4]), no stack args
|
|
__thiscall bool Seeds::CanAddSeedEffect(unsigned int seedEffect); // RET 0x4; ECX this (mov edi,ecx), [ebp+8] seed effect id (< 0x50), returns bool in al
|
|
__thiscall bool Entity_Player::IsCollectibleAnimFinished(int collectible, std_string* animName); // RET 0x8; ItemConfig::GetCollectible([ebp+8]), [ebp+0xc] std::string (SSO check cap > 0xf) -> ANM2::IsFinishedImpl
|
|
__thiscall void HUD::InvalidateActiveItem(Entity_Player* player, int activeSlot); // RET 0x8; [ebp+8] compared to each PlayerHUD's player (stride 0x6dc, 8 HUDs), [ebp+0xc] slot <0 clears all four
|
|
__thiscall void Entity_Player::ReplaceCostumeSprite(ItemConfig_Item* item, std_string* spritePath, int spriteId); // RET 0xc; [ebp+8] compared to costume desc +0x114 (item), [ebp+0xc] -> Sprite::ReplaceSpritesheet on every layer; 3rd arg (callers push 0) not read in the body
|
|
__cdecl int Seeds::CountUnlockedSeedEffects(); // plain RET (009e9b01); ECX overwritten first (mov ecx,[g_manager]), no stack args: counts nonzero bytes of PersistentGameData +0xf14..+0xf63
|
|
__thiscall void Game::Fadein(float speed, bool isShowIcon, KColor* color); // RET 0xc; movss [ebp+8] -> _fadeSpeed, byte [ebp+0xc] -> _isFadeInIconShown, [ebp+0x10] color copied to _fadeInColor
|
|
__thiscall Entity_Knife* Weapon::fire_knife(Entity* parent, unsigned int variant, bool isCantOverwrite, int unused1, int unused2, float rotationOffset<xmm3>); // RET 0x14; ECX weapon ([ecx+4] owner), forwards [ebp+8]/[ebp+0xc]/[ebp+0x10] + xmm3 to Entity_Player::FireKnife; [ebp+0x14..0x1b] never read (Weapon_Knife::Fire caller: sub esp,8; push 1; push variant; push owner)
|
|
__thiscall void Room::update_door_targets(); // plain RET (00802737); ECX = Room (_descriptor, _gridEntities), no stack args
|
|
__thiscall void Menu_Game::destructor(); // plain RET (00980c11); ECX = Menu_Game, no stack args
|
|
__thiscall void Entity_Slot::SetPrizeType(int prizeType); // RET 0x4; mov eax,[ebp+8] (int, not float) -> Entity_Slot +0x540, then load_collectible_gfx(id) for variants 15/16; callers pass ints (iVar8)
|
|
__cdecl int Isaac::GetChallengeIdByName(std_string* name); // plain RET (0086f974), ECX overwritten with g_manager first; [ebp+8] std::string compared to each 0xa4-byte challenge param name; -1 if none
|
|
__stdcall Entity* NpcHelper::query_nearest_other(void* queryList<ecx>, Entity* exclude, Vector position); // RET 0xc = 4+8; ECX entity list (+4 data, +0xc count), [ebp+8] skipped entity, movss [ebp+0xc]/[ebp+0x10] x/y; returns nearest by squared distance
|
|
__thiscall bool Room::DamageGrid(int gridIndex, int damage); // RET 0x8; [ebp+8] index < 0x1c0, [ebp+0xc] pushed to the grid entity's vtable +0x10 (Hurt) with a zeroed EntityRef source
|
|
__thiscall bool Entity_NPC::TryThrow(EntityRef* source, Vector* velocity, float height); // RET 0xc; [ebp+8] source (type==1 -> collision class 3), [ebp+0xc] velocity copied to _velocity, movss [ebp+0x10] -> _v1.y = -height
|
|
__thiscall void LevelGenerator::block_unused_door_cells(void* room, unsigned int* doorMask); // RET 0x8; mov ebx,ecx (generator, blocked grid +0x2b8), [ebp+8] room (+8 position, +0x18 shape) -> get_door_target_position, [ebp+0xc] door bitmask (RoomConfig +0x38)
|
|
__cdecl int Isaac::GetCostumeIdByPath(std_string* path); // plain RET (0086f9de); ECX unread (push ecx is a slot), [ebp+8] std::string compared to each null item's anm2 path (+0x84); returns its id (+4) or -1
|
|
__thiscall GridEntity_Pit* GridEntity_Pit::Free(unsigned int deleteFlags); // RET 0x4 (00712174); scalar deleting destructor: byte [ebp+8] & 1 -> operator_delete(this, 0x158), returns this
|
|
__thiscall Weapon* Weapon_Bombs::Free(unsigned int deleteFlags); // RET 0x4 (009f98f2); scalar deleting destructor: releases EntityPtr at this+0x44, ~Weapon, byte [ebp+8] & 1 -> operator_delete(this, 0x48); mov eax,esi (this)
|
|
__thiscall void GridEntity::Hurt(int damage); // RET 0x4 (0085de15); Lua glue: builds a zeroed EntityRef and calls vtable +0x10 with [ebp+8] and &ref
|
|
__thiscall Vector* Entity::GetForwardVector(Vector* outForward); // RET 0x4; [ebp+8] out = normalized _velocity, (0,1) when speed^2 <= 0.01; returns out
|
|
__thiscall GridEntity_Poop* GridEntity_Poop::Free(unsigned int deleteFlags); // RET 0x4 (0070bcf5); scalar deleting destructor: byte [ebp+8] & 1 -> operator_delete(this, 0x19c), returns this
|
|
__thiscall bool Room::TrySpawnMegaSatanRoomDoor(bool isForce); // RET 0x4 (at 007f9ebc); byte [ebp+8]==0 runs the start-room/stage 11/achievement checks; returns 0/1
|
|
__thiscall void Game::ChangeRoom(int roomIdx, int dimension); // RET 0x8 (at 006fe3bf); mov edi,ecx (Game: player list +0x1baa8); [ebp+8]/[ebp+0xc] forwarded to Level::ChangeRoom
|
|
__cdecl int Isaac::GetPlayerTypeByName(std_string* name, bool isTainted); // plain RET (0086f7e9/0086f7f4); ECX not read; [ebp+8] std::string (SSO cap at +0x14), byte [ebp+0xc] compared to config's tainted flag; -1 when not found
|
|
__thiscall void GridEntity_Lock::try_unlock(Entity_Player* player, bool isForce); // RET 0x8 (at 00711bab); [ebp+8] player (TryUseKey/AddCoins), byte [ebp+0xc] skips the key/coin cost
|
|
__thiscall void Entity_Effect::ExtraDataRef::Set(void* extraData); // RET 0x4 (at 0060c6b9); ECX = {ptr, ReferenceCount*}; [ebp+8] stored at +0 and in the new 0x18-byte ReferenceCount at +0x14
|
|
__thiscall Weapon* Weapon_Bone::Free(unsigned int flags); // RET 0x4 (at 009f9b50); scalar deleting dtor: test byte [ebp+8],1 -> operator delete(this,0x60); mov eax,esi (this)
|
|
__thiscall bool Room::DestroyGrid(int gridIdx, bool isImmediate, bool isDefuseBombRock); // RET 0xc (00813ccd/00813cd5); [ebp+8] idx < 0x1c0, [ebp+0xc] forwarded to GridEntity vfunc +0x14 with a zeroed EntityRef, byte [ebp+0x10] turns grid type 5 (bomb rock) into 2 first; AL result
|
|
__thiscall void Menu_Options::constructor(); // plain RET (at 009b2081); ECX this only (zeroes +0xc..+0x20, ANM2 ctor at +0x24/+0x138)
|
|
__thiscall void Weapon::set_head_direction(int direction); // RET 0x4 (009f57d9/009f57e6); ECX weapon (owner at +4), [ebp+8] dir -> player +0x1628 / familiar +0xd58, indexes the "HeadLeft".. table
|
|
__cdecl int Isaac::GetCardIdByName(std_string* name); // plain RET (at 0086f86a); ECX not read; [ebp+8] std::string, walks _itemConfig._cards backwards, returns card id or -1
|
|
__thiscall void RoomConfigMode::ctor(); // plain RET (at 00828bfb); ECX this only (empty std::string at +0, tree head allocated into +0x20)
|
|
__cdecl int Isaac::GetMusicIdByName(std_string* name); // plain RET (at 0086faa6); ECX not read; [ebp+8] std::string, walks _musicManager._entries (stride 0x60) backwards, returns id or -1
|
|
__thiscall void Weapon_Laser::ClearReferences(); // plain RET (at 00a06417); ECX weapon only (refs at +8 and +0x44)
|
|
__thiscall void GameState::write_int_vector(void* values); // RET 0x4 (at 009d8546); ECX stream writer ([ecx] stream vtable, +0xc Checksum), [ebp+8] std::vector<int> {begin,end}
|
|
__thiscall bool Entity::HasCommonParentWithEntity(Entity* other); // RET 0x4 (006a8c18/006a8c58); [ebp+8] other (type 0xde -> false), both walk _parent (+0x3bc) to the root; sete al
|
|
__thiscall void Weapon_Knife::init_knife(Entity_Knife* knife); // RET 0x4 (00a05293); ECX weapon (_owner at +4), [ebp+8] knife: vfuncs +0x3c/+0x40 SetColor/damage, tear flags at knife+0x410..0x41c
|
|
__thiscall void Entity_Dummy::Render(Vector* offset); // RET 0x4 (006a80ba); vtable slot 5, forwards ECX + [ebp+8] to Entity::Render then draws the "e%d.%d" label
|
|
__cdecl void Isaac::RenderScaledText(std_string* text, float x, float y, float scaleX, float scaleY, float red, float green, float blue, float alpha); // plain RET (0086f36d), no ECX; Lua binding, SSO check on [ebp+8]+0x14, pos/scale/KColor built from the floats
|
|
__cdecl void Isaac::RenderText(std_string* text, float x, float y, float red, float green, float blue, float alpha); // plain RET (0086f279), no ECX; Lua binding, SSO check on text, KColor from the 4 trailing floats
|
|
__thiscall void Entity_Player::spawn_low_health_blood_splat(); // plain RET (007a4b9e); ECX player only, no stack args
|
|
__thiscall bool GridEntity_TNT::Destroy(bool isImmediate, EntityRef* source); // RET 0x8 (0071f2d2/0071f37c/0071f3eb); matches REPENTOGON's GridEntity::Destroy; returns 0/1 in AL
|
|
__thiscall void Entity_Player::add_random_stat_up(RNG* rng); // RET 0x4 (007c3a4e); [ebp+8] RNG: seed at +0, shift triple at +4/+8/+0xc, Next() written back
|
|
__thiscall void Menu_OnlineLobby::toggle_ready(); // plain RET (008eddd1); ECX lobby menu, no stack args
|
|
__thiscall void Game::AddEncounteredBoss(int type, int variant); // RET 0x8 (007034f2); pushes the (type, variant) pair onto the 8-byte vector _encounteredBosses unless already there
|
|
__stdcall void Game::AddErasedEnemy(Entity* entity); // RET 0x4 (007078ec); ECX loaded from [ebp+8] first (not an arg); reads entity +0x28/+0x2c/+0x30
|
|
__thiscall RoomConfigStage* RoomConfigStage::ctor(); // plain RET (00828fd4); mov eax,esi(this) before the return
|
|
__cdecl GridEntity* Isaac::GridSpawn(int type, int variant, Vector* position, bool isForced); // plain RET (0086f185/0086f1a5), no ECX; Lua binding Isaac.GridSpawn, returns room grid entity at the index
|
|
__thiscall int HUD::GetPlayerHudIndex(Entity_Player* player); // RET 0x4 (009a6549/009a6565); [ebp+8] player (twin mapped via +0x1e68), -1 when not found
|
|
static cleanup Vector* NpcHelper::adult_leech_heading(Vector* outHeading<ecx>, Entity* target<edx>, Vector npcPos); // plain RET (004d8fe5); caller 004d919f: edx = 006be840 result, lea ecx,[out], push pos.y, push pos.x, add esp,8, reads [eax]
|
|
__thiscall bool Entity_Player::IsPosInSpotLight(Vector* position); // RET 0x4 (007c9cfc/007c9d04); [ebp+8] position, compares against _bodyAngle cone within 200 px
|
|
__thiscall int Weapon_Brimstone::GetMarkedTargetVariant(); // plain RET (00a0284b...); returns effect variant 0x99 (collectible 572) / 0x1e (Marked) / 0
|
|
__thiscall void Weapon_Tears::Update(bool isInterpolated); // RET 0x4 (00a0d8d3); vtable slot like Weapon_Bone::Update: byte [ebp+8] nonzero skips both timer steps
|
|
__stdcall void MenuManager::scroll_options_menu(int menuId, int selectedRow, int rowCount); // RET 0xc (0098af94); ECX not read (push ecx = slot), g_menuManager used; menu 10 or 0x14, shifts view y by 20 per row past 3
|
|
__thiscall EntityConfig_Entity* EntityConfig_Entity::EntityConfig_Entity(); // plain RET (0069448d); ECX record zeroed field by field, mov eax,ecx
|
|
__thiscall Menu_Character* Menu_Character::constructor(); // plain RET (00947061); ECX = MenuManager+0x1534, returns this
|
|
__thiscall bool Entity_NPC::is_controller_input_idle(); // plain RET (006d8dc5..006d8e3d); ECX npc, result in al
|
|
__thiscall void Entity_Familiar::RemoveFromPlayer(); // plain RET (0064bb62); ECX familiar, no [ebp+n] reads
|
|
__thiscall void LevelGenerator::block_room_area(void* room, int unused); // RET 0x8 (009b1905); only [ebp+8] read (+8/+0xc grid x,y, +0x18 shape); caller 00739a05 push ecx; mov ecx,[ebp-0xe0]; push eax(room)
|
|
__stdcall void Weapon_Laser::init_laser(Weapon* weapon<ecx>, Entity_Laser* laser); // RET 0x4 (00a063a1); mov edi,ecx (Weapon for get_owner_tear_flags/get_laser_color/get_damage), [ebp+8] laser (vfuncs +0x3c/+0x40); caller Weapon_Laser::Fire
|
|
__stdcall Entity_Laser* NpcHelper::ReapCreep_ThinLaser(Entity_NPC* npc<ecx>, float startAngle<xmm2>, float endAngle<xmm3>, int unused); // RET 0x4 (00579874); [ebp+8] never read; callers 0057b001.. movss xmm3/xmm2 constants; push ecx; mov ecx,edi
|
|
__thiscall Entity_Laser* Entity_Player::FireBrimstone(Vector* direction, Entity* source, float damageMultiplier); // RET 0xc (007a0fd3); [ebp+8] dir, [ebp+0xc] never read (Weapon::FireBrimstone gets the player as source), movss xmm3,[ebp+0x10]
|
|
__stdcall void GameState::write_entry(int* entry<ecx>, int* stream); // RET 0x4 (009c888c); mov esi,ecx (12-byte entry), [ebp+8] stream (vfn 0x1c write, checksum at +0xc); callers GameState::write, write_room
|
|
__thiscall void RoomConfig::ResetStageWeights(unsigned int stageId, int mode); // RET 0x8 (0082aa12); [ebp+8] stage, [ebp+0xc] mode (-1 = from difficulty)
|
|
__stdcall void NpcHelper::mother_set_collision_class(Entity_NPC* npc<ecx>, int collisionClass); // RET 0x4 (00568974); [ebp+8] -> npc+0x188 and the two linked parts
|
|
__thiscall void ItemConfig::destructor(); // plain RET (00725298); ECX ItemConfig
|
|
__thiscall void Menu_Character::render_page_snapshot(); // plain RET (0094e206); ECX reads +0xfe0 render target
|
|
__thiscall void Entity_Player::ClearCollectibleAnim(int collectible); // RET 0x4 (007ad5ff); [ebp+8] to ItemConfig::GetCollectible (REPENTOGON decl, CollectibleType)
|
|
__thiscall void GridEntity_Rock::UpdateAnimFrame(); // plain RET (0071aaef); ECX rock
|
|
__thiscall void Weapon_Brimstone::ClearReferences(); // plain RET (00a027f7); vtable slot 5
|
|
__cdecl int NpcHelper::heretic_count_out_fires(); // plain RET (004b3f09); no ECX/stack reads, walks g_game room entity list
|
|
__thiscall void Menu_LobbyListFilters::constructor(); // plain RET (8dc3b3); only ECX read
|
|
__thiscall void GameStatePlayer::write_coplayer(void* stream); // RET 0x4; [ebp+8] stream: vtable +0x1c write, Checksum at stream+0xc
|
|
__thiscall void LevelGenerator::block_cells_near_rooms(void* otherLayout, int unused); // RET 0x8; only [ebp+8] read (grid at +0x14), second dword never read
|
|
__thiscall void ProceduralItemManager::~ProceduralItemManager(); // plain RET; only ECX
|
|
__thiscall char HUD::count_player_huds(); // plain RET; ECX = HUD, counts non-null PlayerHUD slots
|
|
__thiscall void GameStatePlayer::read_player_key(void* stream); // RET 0x4; [ebp+8] stream: vtable +0x14 read, Checksum at stream+0xc
|
|
__thiscall void RoomConfig::~RoomConfig(); // plain RET; ECX = stage array
|
|
__thiscall void Weapon_Brimstone::init_laser(Entity_Laser* laser); // RET 0x4; ECX weapon, [ebp+8] laser gets tear flags/color/damage
|
|
__thiscall bool ItemConfig_Item::is_mom_item(); // plain RET; reads [ecx] type and [ecx+4] id
|
|
__thiscall void PersistentGameData::set_run_mask(unsigned int maskLow, unsigned int maskHigh); // RET 0x8; stores both dwords, counts set bits 0..0x28
|
|
__thiscall void AnimationState::AnimationState(void* owner, AnimationState* other); // RET 0x8; copy constructor: [ebp+8] owner, [ebp+0xc] source state
|
|
__thiscall void* Entity::GetData(void* outRef); // RET 0x4; [ebp+8] out LuaRef {state, ref}, returned
|
|
__thiscall void Menu_Character::seed_add_char(char ch); // RET 0x4; byte [ebp+8] character
|
|
__thiscall bool NpcHelper::is_target_valid(Entity* target); // RET 0x4; ECX npc (flags +0x168), [ebp+8] target
|
|
__fastcall void Gamepad_removeDevice(int deviceIndex); // plain RET; ECX device index, EDX loaded before use
|
|
__stdcall void Entity::ReleaseLuaRef(Entity* entity); // RET 0x4; ECX never read, [ebp+8] entity
|
|
__thiscall void GridEntity_Door::SetLocked(bool isLocked); // RET 0x4; byte [ebp+8]: variant 1 locked / 8 unlocked
|
|
__thiscall void PersistentGameData::copy_constructor(PersistentGameData* other); // RET 0x4; [ebp+8] source for operator_assign
|
|
__thiscall void Level::SetStateFlag(int flag, bool isSet); // RET 0x8; flag clamped 0..0x19, byte [ebp+0xc] set/clear
|
|
__thiscall void GridEntity_Teleporter::Render(Vector* offset); // RET 0x4; [ebp+8] offset added to render position
|
|
__thiscall void EntityList::render_up_to(unsigned int maxDepth, Vector* offset); // RET 0x8 at 00419a48; ECX entity list (+0x54 array, +0x5c count, +0xa0 cursor), [ebp+8] depth limit compared with vfunc +0x34, [ebp+0xc] offset passed to vfunc +0x14 Render
|
|
__thiscall bool PlayerManager::check_full_health(bool isRequireAll); // RET 0x4 at 009beb9b; byte arg is both the initial result and the mode: 0 = any main player at full health, 1 = all of them
|
|
__thiscall Vector* Entity_NPC::GetForwardVector(Vector* outDirection); // RET 0x4; [ebp+8] out written and returned on every path (vtable slot 22)
|
|
__thiscall bool Entity_Pickup::empty_pedestal(); // plain RET; returns 1/0 only
|
|
__thiscall void Room::MamaMegaExplosion(Vector* position, Entity_Player* player); // RET 0x8; [ebp+8] spawn/target pos, [ebp+0xc] null -> GetPlayer(0) (Lua Room:MamaMegaExplosion(Position, Player))
|
|
__thiscall void HUD::update_hud_offset(); // plain RET at 009a8420; only ECX (HUD +0x5934..+0x59a0) read
|
|
__fastcall bool NpcHelper::tarboy_is_creep_near(Entity_NPC* npc, Vector* position); // plain RET; ECX npc (flags +0x168), EDX read as Vector* before written; returns al
|
|
__thiscall void PlayerManager::remove_coplayers_without_device(); // plain RET at 009ba97b; ECX player manager, no stack args
|
|
__thiscall int Level::GetTargetSlot(int roomIdx, int doorSlot, int unused); // RET 0xc at 0073dad2; [ebp+8] roomIdx (GetRoomByIdx), [ebp+0xc] door slot (+4 mod 8 scan), third dword never read
|
|
__thiscall bool Entity_Familiar::TryThrow(EntityRef* source, Vector* direction, float force); // RET 0xc; [ebp+0xc] Vector read x/y, [ebp+0x10] float; Lua TryThrow(EntityRef Source, Vector Direction, float Force)
|
|
__stdcall bool NpcHelper::hornfel_claim_target(Entity_NPC* npc<ecx>, Entity* target); // RET 0x4; ECX hornfel npc (+0x3c4 target, +0x3bc parent), [ebp+8] stored as _target of npc and parent
|
|
__thiscall int Weapon_Bombs::GetMarkedTargetVariant(); // plain RET at 009fa215; ECX weapon (+4 owner, +0x34 flags)
|
|
__thiscall void Console::destructor(); // plain RET at 00686052; ECX console, no stack args
|
|
__cdecl Vector* Isaac::WorldToScreen(Vector* outScreenPos, Vector* worldPos); // plain RET, caller pops; [ebp+8] out (mov eax,[ebp+8] on both exits), [ebp+0xc] world position
|
|
__thiscall bool Entity_Player::CanPickBoneHearts(); // plain RET; returns al (CONCAT31 garbage in the upper bytes)
|
|
__thiscall void Entity_NPC::apply_controller_movement(float acceleration<xmm1>, float friction<xmm2>, float maxSpeed<xmm3>); // plain RET 006d9433; ECX npc; callers 00527288/00530fe2: movss xmm1,3.0; xmm2,1-x; xmm3,30.0; mov ecx,npc
|
|
__thiscall void Entity_Tear::apply_wiggle(float strength<xmm1>); // plain RET (00666b93, twin 006669fe); both 006668c0 and 00666a00 read XMM1; callers 0066d907/006799b0 load xmm1 then mov ecx,tear
|
|
__thiscall void Weapon_Knife::ClearReferences(); // plain RET (at 00a05006); ECX weapon (entity refs at +0x8, +0x44..+0x50), no stack args; same shape as Weapon_Bone::ClearReferences
|
|
__thiscall Entity_Laser* Weapon::fire_brimstone_with_color(Vector* direction, float damageMult<xmm2>, unsigned int unk2); // RET 0x8 at 009f6601; [ebp+8] direction, [ebp+0xc] forwarded as FireBrimstone unk2, movaps xmm3,xmm2 -> FireBrimstone damageMult; ECX weapon
|
|
__thiscall bool GridEntity_TNT::Hurt(int damage, EntityRef* source); // RET 0x8 (at 0071f298); [ebp+8] damage added to grid state ECX+0xc (capped at 4), source unused; same decl as GridEntity_Fire::Hurt
|
|
__thiscall void Weapon_UrnOfSouls::ClearReferences(); // plain RET (at 00a0f4b3); ECX weapon (entity refs at +0x8, +0x4c), stops sounds 0x216/0x217, no stack args
|
|
__thiscall int PlayerManager::GetNumAlivePlayers(); // plain RET (at 009bfa6d); ECX player manager (vector begin/end at +0/+4), no stack args
|
|
__thiscall int Room::GetClampedGridIndex(Vector* position); // RET 0x4 (at 00812e51); [ebp+8] float pair x/y, ECX room (_gridWidth/_gridHeight)
|
|
__stdcall bool NpcHelper::polty_is_pot_cell(Entity_NPC* npc<ecx>, int gridIndex); // RET 0x4 (0055d216/0055d21f); mov edi,ecx (npc +0x33c/+0x340 pos), [ebp+8] grid index < 0x1c0
|
|
__fastcall bool NpcHelper::polty_is_target_liftable(Entity_NPC* npc); // plain RET (0055d108/0055d171); mov esi,ecx; EDX loaded from npc+0xbc4 (I2) before any read
|
|
__fastcall bool NpcHelper::whipper_is_target(Entity_NPC* npc, Entity* entity); // plain RET (004e5109); ECX npc, EDX entity read at entry (cmp edx,esi; [edx+0x28] type)
|
|
__thiscall ItemConfig_Costume* ItemConfig_Costume::operator_assign(ItemConfig_Costume* other); // RET 0x4 (at 00728775); mov edi,[ebp+8] source, ECX dest, mov eax,esi returns this
|
|
__thiscall Entity* Room::hold_entity_in_spawner(Entity* entity, int group); // RET 0x8 (at 00823079); mov esi,[ebp+8] entity (+0x33c/+0x340 pos, vtable 0x48/0x4c/0x28), [ebp+0xc] -> spawner effect +0x450; ECX room (_aliveEnemyCount)
|
|
__thiscall void Game::Fadeout(float speed, int target, KColor* color); // RET 0xc (006f5306/006f531b); movss xmm1,[ebp+8]; [ebp+0xc] target < 0xc -> +0x265bc; [ebp+0x10] rgb copied to _fadeOutColor (REPENTOGON declares it as Game::FadeOut)
|
|
__thiscall EntityList_EL* EntityList::assign(EntityList_EL* dest, EntityList_EL* source); // RET 0x8 (at 006b83be); [ebp+8] dest passed to sublist_init with ECX+0x80 parent, [ebp+0xc] source (+4 data, +0xc count) memcpy'd, returns dest
|