// // SetupTeleportPopup::updateTeleportGravityState from 0x10000c21c to 0x10000c294 (120 bytes) // // 2 xrefs: // > SetupTeleportPopup::onTeleportGravity @ 0x10000c1d8 // > SetupTeleportPopup::updateDefaultTriggerValues @ 0x10000c218 // // 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; // x8 cocos2d::ccArray *data; // x9 __int64 num; // x8 CCMenuItemToggler **arr; // x21 unsigned __int64 v7; // x22 CCMenuItemToggler *v8; // x20 bool v9; // w1 m_teleportGravityToggles = a1->m_teleportGravityToggles; if ( m_teleportGravityToggles ) { data = m_teleportGravityToggles->data; num = data->num; if ( (_DWORD)num ) { arr = (CCMenuItemToggler **)data->arr; v7 = (unsigned __int64)&arr[num - 1]; do { v8 = *arr; if ( !*arr ) break; v9 = ((unsigned int (__fastcall *)(CCMenuItemToggler *))v8->getTag)(*arr) == a2; CCMenuItemToggler::toggle(v8, v9); ++arr; } while ( (unsigned __int64)arr <= v7 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source