Every db/protos.zhl line is checked against the callee's RET n. Typed parameters make more pointers typed: named ->members 104k -> 115k (field_0x 3946 -> 4576 as newly typed pointers show their unknown members), param_N lines 47349 -> 44610. 83 targets skipped: XMM float args/returns or ECX/EDX + caller-cleaned stack (whole-program optimisation). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
474 lines
68 KiB
Plaintext
474 lines
68 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.
|
|
__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
|