// // UIPOptionsLayer::onReset from 0x1002a5630 to 0x1002a56df (175 bytes) // // 1 xrefs: // > UIPOptionsLayer::init @ 0x1002a530c // // This function is hookable on this platform (idp: pc, 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 12:27:56 +0000 // __int64 __fastcall UIPOptionsLayer::onReset(_QWORD *a1, __int64 a2) { __int64 v3; // rsi __int64 v4; // rax double v5; // xmm0_8 __int64 v6; // rdx __int64 v7; // rax __int64 v8; // rdi __int64 v9; // r14 __int64 v10; // rdx double v11; // xmm0_8 __int64 v12; // rax __int64 v14; // [rsp+Ch] [rbp-24h] BYREF float v15[2]; // [rsp+14h] [rbp-1Ch] BYREF float v16; // [rsp+1Ch] [rbp-14h] v3 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v15, v3); v16 = v15[0] * 0.5; v4 = cocos2d::CCDirector::sharedDirector(v15, v3); v5 = sub_100479750(v4); sub_100278250((float *)&v14, v16, *(float *)&v5 + 40.0); GameManager::sharedState(&v14, v3, v6); v8 = v7 + 1704; sub_100278300((_QWORD *)(v7 + 1704), &v14); v9 = a1[127]; *(_QWORD *)&v11 = GameManager::sharedState(v8, &v14, v10).u64[0]; (*(void (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v9 + 184LL))(v9, v12 + 1704, v11); return (*(__int64 (__fastcall **)(_QWORD *, __int64, float))(*a1 + 1456LL))(a1, 4294967267LL, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source