// // GJOptionsLayer::nextPosition from 0x5d6ad8 to 0x5d6bc8 (240 bytes) // // 3 xrefs: // > GJOptionsLayer::addToggleInternal @ 0x5e1656 // > GameOptionsLayer::setupOptions @ 0x5e21fe // > GameOptionsLayer::setupOptions @ 0x5e2346 // // 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:54:09 +0000 // GJOptionsLayer *__fastcall GJOptionsLayer::nextPosition(GJOptionsLayer *this, float *a2, const char *a3) { int v6; // r0 int v7; // r9 int v8; // r7 const cocos2d::CCPoint *v9; // r1 float v11[2]; // [sp+4h] [bp-1Ch] BYREF _BYTE v12[4]; // [sp+Ch] [bp-14h] BYREF float v13; // [sp+10h] [bp-10h] _BYTE v14[8]; // [sp+14h] [bp-Ch] BYREF cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v11); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v12, (float)(v11[0] * 0.5) - 160.0, (float)((float)((float)(a2[140] * 0.5) + (float)(v11[1] * 0.5)) - 60.0) + a2[189]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, (float)(v11[0] * 0.5) + 32.0, v13); v6 = GJOptionsLayer::countForPage((GJOptionsLayer *)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)((float)(int)floorf((float)v8 * 0.5) * a2[178]); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source