// // SetupCameraModePopup::onUnboundMode from 0x1004a9700 to 0x1004a977c (124 bytes) // // 1 xrefs: // > SetupCameraModePopup::init @ 0x1004a9137 // // 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 SetupCameraModePopup::onUnboundMode(SetupCameraModePopup *a1, cocos2d::CCObject *a2) { bool v2; // al EffectGameObject *m_gameObject; // rcx unsigned int v4; // r14d v2 = !a1->m_freeMode; a1->m_freeMode = v2; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObject->m_cameraIsFreeMode = v2; } else if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v4 = 0; do *(_BYTE *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1748) = a1->m_freeMode; while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } SetupCameraModePopup::updateItemVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source