// // ParentalOptionsLayer::nextPosition from 0x52f244 to 0x52f326 (226 bytes) // // 1 xrefs: // > ParentalOptionsLayer::addToggle @ 0x52f5a8 // // 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:52:03 +0000 // ParentalOptionsLayer *__fastcall ParentalOptionsLayer::nextPosition( ParentalOptionsLayer *this, ParentalOptionsLayer *a2, const char *a3) { int v6; // r0 int v7; // r8 int v8; // r5 const cocos2d::CCPoint *v9; // r1 float v11[2]; // [sp+4h] [bp-20h] BYREF _BYTE v12[4]; // [sp+Ch] [bp-18h] BYREF float v13; // [sp+10h] [bp-14h] _BYTE v14[8]; // [sp+14h] [bp-10h] BYREF cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)(v11[0] * 0.5) - 135.0, (float)(v11[1] * 0.5) + 50.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, (float)(v11[0] * 0.5) + 35.0, v13); v6 = ParentalOptionsLayer::countForPage(a2, a3); v7 = v6 + 1; v8 = v6; if ( ((v6 + 1) & 1) != 0 ) v9 = (const cocos2d::CCPoint *)v12; else v9 = (const cocos2d::CCPoint *)v14; cocos2d::CCPoint::CCPoint(this, v9); if ( v7 > 2 ) *((float *)this + 1) = *((float *)this + 1) - (float)(48 * (int)floorf((float)v8 * 0.5)); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source