// // cocos2d::CCPoolManager::pop from 0x1003e3ea0 to 0x1003e3f4e (174 bytes) // // 2 xrefs: // > cocos2d::CCDirector::dCCDirector @ 0x100477425 // > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1004796a1 // // 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:29:46 +0000 // __int64 __fastcall cocos2d::CCPoolManager::pop(_QWORD *a1) { __int64 result; // rax int v3; // r14d __int64 v4; // r15 __int64 v5; // rdi unsigned int *v6; // rax __int64 v7; // rcx unsigned __int64 v8; // rax unsigned __int64 v9; // rcx if ( a1[1] ) { v3 = sub_1007FEF90(*a1); v4 = a1[1]; result = sub_1007FEF90(*(_QWORD *)(v4 + 56)); if ( (_DWORD)result ) { v5 = *(_QWORD *)(v4 + 56); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); v7 = *v6; if ( *v6 ) { v8 = *((_QWORD *)v6 + 2); v9 = v8 + 8 * v7 - 8; do { if ( !*(_QWORD *)v9 ) break; --*(_DWORD *)(*(_QWORD *)v9 + 24LL); v9 -= 8LL; } while ( v9 >= v8 ); } } result = sub_1007FF190(v5); } if ( v3 >= 2 ) { sub_1007FF150(*a1, (unsigned int)(v3 - 1), 1); result = sub_1007FEFE0(*a1, (unsigned int)(v3 - 2)); a1[1] = result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source