// // sub_10046E680 from 0x10046e680 to 0x10046e782 (258 bytes) // // 4 xrefs: // > SecretLayer5::dSecretLayer5 @ 0x10046e795 // > sub_10046E7A0 @ 0x10046e7ac // > sub_10046E7C0 @ 0x10046e7c9 // > sub_10046E7E0 @ 0x10046e7f3 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:32 +0000 // __int64 __fastcall sub_10046E680(__int64 a1, double a2) { __int64 v3; // rdi void *v4; // rdi *(_QWORD *)a1 = off_100B45428; *(_QWORD *)(a1 + 320) = off_100B458F0; *(_QWORD *)(a1 + 328) = &off_100B45960; *(_QWORD *)(a1 + 336) = off_100B45978; *(_QWORD *)(a1 + 344) = off_100B45998; *(_QWORD *)(a1 + 352) = off_100B459C0; *(_QWORD *)(a1 + 408) = off_100B459F0; *(_QWORD *)(a1 + 416) = &off_100B45A38; *(_QWORD *)(a1 + 424) = &off_100B45A50; *(_QWORD *)(a1 + 432) = off_100B45A68; v3 = *(_QWORD *)(a1 + 504); if ( v3 ) cocos2d::CCObject::release(v3); if ( *(_QWORD *)(GameLevelManager::sharedState(a2) + 1416) == a1 + 432 ) *(_QWORD *)(GameLevelManager::sharedState(a2) + 1416) = 0; v4 = *(void **)(a1 + 592); if ( v4 ) { *(_QWORD *)(a1 + 600) = v4; operator delete(v4); } if ( (*(_BYTE *)(a1 + 520) & 1) != 0 ) operator delete(*(void **)(a1 + 536)); return sub_1004A9420(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source