// // SetupAudioTriggerPopup::onProxMode from 0x1004b7920 to 0x1004b79db (187 bytes) // // 1 xrefs: // > SetupAudioTriggerPopup::addProxVolControls @ 0x1004b76c5 // // 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 SetupAudioTriggerPopup::onProxMode(SetupAudioTriggerPopup *a1, cocos2d::CCObject *a2) { int v2; // r14d unsigned int v3; // r15d __int64 v4; // r12 ButtonSprite *v5; // r13 const char *v6; // rsi v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); SetupTriggerPopup::updateValue(a1, 458, (float)v2); if ( (unsigned int)sub_100720070(a1->m_proximityButtons) ) { v3 = 0; do { v4 = sub_1007200C0(a1->m_proximityButtons, v3); v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1056LL))(v4); v6 = "GJ_button_04.png"; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4) == v2 ) v6 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v5, v6); ++v3; } while ( v3 < (unsigned int)sub_100720070(a1->m_proximityButtons) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source