// // sub_100480040 from 0x100480040 to 0x1004800ad (109 bytes) // // 1 xrefs: // > @ 0x100b4c7a0 // // 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:39 +0000 // void __fastcall sub_100480040(_DWORD *__p) { _QWORD *v2; // rax __int64 v3; // rdi __int64 v4; // r14 *(_QWORD *)__p = off_100B4C790; if ( __p[6] ) { v2 = cocos2d::CCPoolManager::sharedPoolManager(); cocos2d::CCPoolManager::removeObject((__int64)v2, (__int64)__p); } if ( __p[3] ) { v3 = *cocos2d::CCScriptEngineManager::sharedManager(); LABEL_5: (*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v3 + 24LL))(v3, __p); goto LABEL_6; } v4 = *cocos2d::CCScriptEngineManager::sharedManager(); if ( v4 ) { v3 = v4; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4) == 2 ) goto LABEL_5; } LABEL_6: operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source