// // SetupTeleportPopup::updateTeleportGravityState from 0x10035a3b0 to 0x10035a413 (99 bytes) // // 0 xrefs: // // 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 // void __fastcall SetupTeleportPopup::updateTeleportGravityState(SetupTeleportPopup *a1, int a2) { cocos2d::CCArray *m_teleportGravityToggles; // rax cocos2d::ccArray *data; // rax CCMenuItemToggler **arr; // r15 unsigned __int64 v5; // r12 CCMenuItemToggler *v6; // r14 int v7; // eax m_teleportGravityToggles = a1->m_teleportGravityToggles; if ( m_teleportGravityToggles ) { data = m_teleportGravityToggles->data; if ( data->num ) { arr = (CCMenuItemToggler **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { v6 = *arr; if ( !*arr ) break; v7 = ((__int64 (__fastcall *)(CCMenuItemToggler *))v6->getTag)(*arr); CCMenuItemToggler::toggle(v6, v7 == a2); ++arr; } while ( (unsigned __int64)arr <= v5 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source