// // PlayLayer::postUpdate from 0x140513ca0 to 0x140513e53 (435 bytes) // // 5 xrefs: // > @ 0x1407d5dc0 // > @ 0x1408d6f88 // > @ 0x1408d6fd0 // > @ 0x14092ac14 // > @ 0x14092ac20 // // 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 11:33:32 +0000 // unsigned int __fastcall PlayLayer::postUpdate(__int64 a1, float a2) { __int64 v3; // rcx __int64 v4; // rax __int64 *v5; // rdi __int64 v6; // rbx __int64 v7; // rax unsigned int v8; // ebp unsigned int v9; // edi unsigned int result; // eax struct cocos2d::CCObject *v11; // rax struct cocos2d::CCObject *v12; // r14 __int64 v13; // rcx __int64 v14; // rbx __int64 v15; // rax struct cocos2d::CCObject *v16; // rax float v17; // [rsp+50h] [rbp+8h] BYREF float v18; // [rsp+54h] [rbp+Ch] char v19; // [rsp+60h] [rbp+18h] BYREF if ( !*(_BYTE *)(a1 + 15064) ) AudioEffectsLayer::audioStep(*(_QWORD *)(a1 + 13168), a2); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1); GJBaseGameLayer::updateLevelColors((_QWORD *)a1); PlayLayer::updateProgressbar(a1); PlayLayer::updateInfoLabel(a1); v4 = cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(v4, &v17); v5 = *(__int64 **)(a1 + 13120); v6 = *v5; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v19, (float)((float)(v17 * 0.5) / *(float *)(a1 + 424)) + *(float *)(a1 + 1040), (float)((float)(v18 * 0.5) / *(float *)(a1 + 424)) + *(float *)(a1 + 1044)); (*(void (__fastcall **)(__int64 *, __int64))(v6 + 184))(v5, v7); v8 = 0; v9 = 0; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 14952)); if ( result ) { do { v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 14952), v9); v12 = v11; v13 = *((_QWORD *)v11 + 40); if ( v13 ) { v14 = *(_QWORD *)v11; v15 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 200LL))(v13); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v14 + 184))(v12, v15); } ++v9; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 14952)); } while ( v9 < result ); } if ( *(_BYTE *)(a1 + 13648) ) { if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 4360)) ) { do { v16 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 4360), v8); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v16 + 336LL))(v16, 0); ++v8; } while ( v8 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 4360)) ); } return PlayLayer::onQuit(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source