// // MoreVideoOptionsLayer::nextPosition from 0x425684 to 0x425766 (226 bytes) // // 1 xrefs: // > MoreVideoOptionsLayer::addToggle @ 0x425a00 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCPoint *MoreVideoOptionsLayer::nextPosition( cocos2d::CCPoint *__return_ptr retstr, MoreVideoOptionsLayer *a2, int a3) { cocos2d::CCDirector *v6; // r0 int v7; // r0 int v8; // r8 int v9; // r5 const cocos2d::CCPoint *v10; // r1 cocos2d::CCSize v12; // [sp+4h] [bp-20h] BYREF cocos2d::CCPoint v13; // [sp+Ch] [bp-18h] BYREF cocos2d::CCPoint v14; // [sp+14h] [bp-10h] BYREF v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v12, v6); cocos2d::CCPoint::CCPoint(&v13, (float)(v12.width * 0.5) - 135.0, (float)(v12.height * 0.5) + 60.0); cocos2d::CCPoint::CCPoint(&v14, (float)(v12.width * 0.5) + 35.0, v13.y); v7 = MoreVideoOptionsLayer::countForPage(a2, a3); v8 = v7 + 1; v9 = v7; if ( ((v7 + 1) & 1) != 0 ) v10 = &v13; else v10 = &v14; cocos2d::CCPoint::CCPoint(retstr, v10); if ( v8 > 2 ) retstr->y = retstr->y - (float)(48 * (int)floorf((float)v9 * 0.5)); return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source