// // MoreVideoOptionsLayer::nextPosition from 0x100115d5c to 0x100115e4c (240 bytes) // // 1 xrefs: // > MoreVideoOptionsLayer::addToggle @ 0x1001157a0 // // This function is hookable on this platform (idp: arm, 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 10:59:10 +0000 // void __usercall MoreVideoOptionsLayer::nextPosition(__int64 a1@, __int64 a2@, __int64 a3@) { __int64 v6; // x0 signed int v7; // w20 float *v8; // x1 float v9; // [xsp+8h] [xbp-58h] BYREF float v10[2]; // [xsp+10h] [xbp-50h] BYREF __int64 v11; // [xsp+18h] [xbp-48h] BYREF v6 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(&v11, v6); sub_1000262BC(v10, (float)(*(float *)&v11 * 0.5) + -135.0, (float)(*((float *)&v11 + 1) * 0.5) + 60.0); sub_1000262BC(&v9, (float)(*(float *)&v11 * 0.5) + 35.0, v10[1]); v7 = MoreVideoOptionsLayer::countForPage(a1, a2); if ( (v7 & 1) != 0 ) v8 = &v9; else v8 = v10; sub_1000262F4((_QWORD *)a3, (double *)v8); if ( v7 >= 2 ) *(float *)(a3 + 4) = *(float *)(a3 + 4) - (float)(int)(48 * vcvtms_s32_f32(vcvts_n_f32_u32(v7, 1u))); }
GD Web Decomp Icon

GD Web Decomp

Raw Source