// // BoomScrollLayer::updatePages from 0x3c147c to 0x3c1548 (204 bytes) // // 3 xrefs: // > BoomScrollLayer::addPage @ 0x3c1fbc // > BoomScrollLayer::removePage @ 0x3c200a // > BoomScrollLayer::init @ 0x3c2464 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:31 +0000 // unsigned int __fastcall BoomScrollLayer::updatePages(cocos2d::CCArray **this) { unsigned int i; // r8 unsigned int result; // r0 int v4; // r4 int (__fastcall *v5)(int, _BYTE *); // r9 cocos2d::CCDirector *v6; // r0 void (__fastcall *v7)(int, _BYTE *); // r9 void (__fastcall *v8)(int, _BYTE *); // r9 float *v9; // r0 _BYTE v10[8]; // [sp+4h] [bp-10h] BYREF for ( i = 0; ; ++i ) { result = cocos2d::CCArray::count(*(this + 91)); if ( i >= result ) break; v4 = cocos2d::CCArray::objectAtIndex(*(this + 91), i); v5 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); v6 = (cocos2d::CCDirector *)v5(v4, v10); v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 160); cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10); v7(v4, v10); v8 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92); v9 = (float *)(*((int (__fastcall **)(cocos2d::CCArray **))*this + 41))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)(int)i * (float)(*v9 - *((float *)this + 116)), 0.0); v8(v4, v10); if ( !(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 256))(v4) ) (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 96) + 228))(*(this + 96), v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source