// // SetupTeleportPopup::onTeleportGravity from 0x100345780 to 0x100345888 (264 bytes) // // 3 xrefs: // > SetupTeleportPopup::init @ 0x100344c4e // > SetupTeleportPopup::init @ 0x100344d92 // > SetupTeleportPopup::init @ 0x100344ed6 // // 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:28:45 +0000 // unsigned int *__fastcall SetupTeleportPopup::onTeleportGravity(_QWORD *a1, __int64 a2) { int v2; // r15d int v3; // eax int v4; // r12d __int64 v5; // r15 float *v6; // r14 unsigned int *result; // rax __int64 *v8; // r14 unsigned __int64 v9; // r15 __int64 v10; // rbx int v11; // eax v2 = (int)(*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 354); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = 0; if ( v3 != v2 ) v4 = v3; v5 = a1[104]; v6 = (float *)operator new(0x40u); cocos2d::CCObject::CCObject(v6); *(_QWORD *)v6 = off_100AE75B8; v6[14] = (float)v4; cocos2d::CCObject::autorelease(v6); cocos2d::CCDictionary::setObject_1(v5, (__int64)v6, 354); SetupTriggerPopup::valueChanged(a1, 354, (float)v4); result = (unsigned int *)a1[127]; if ( result ) { result = *((unsigned int **)result + 7); if ( *result ) { v8 = *((__int64 **)result + 2); v9 = (unsigned __int64)&v8[*result - 1]; do { v10 = *v8; if ( !*v8 ) break; v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 64LL))(*v8); result = (unsigned int *)CCMenuItemToggler::toggle(v10, v11 == v4); ++v8; } while ( (unsigned __int64)v8 <= v9 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source