// // SetupInstantCollisionTriggerPopup::updateSpecialNodes from 0x6264fc to 0x6266a6 (426 bytes) // // 2 xrefs: // > SetupInstantCollisionTriggerPopup::valueDidChange @ 0x6266cc // > SetupInstantCollisionTriggerPopup::updateDefaultTriggerValues @ 0x6266e0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:09 +0000 // int __fastcall SetupInstantCollisionTriggerPopup::updateSpecialNodes(cocos2d::CCDictionary **this) { float v2; // s15 float v3; // s16 float v4; // s17 int v5; // r7 float v6; // r0 int result; // r0 int v8; // r7 float v9; // r0 _BOOL4 v10; // [sp+0h] [bp-10h] BYREF _BOOL4 v11; // [sp+4h] [bp-Ch] _BOOL4 v12; // [sp+8h] [bp-8h] v2 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 201)); v3 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 138)); v4 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 200)); v5 = cocos2d::CCDictionary::objectForKey(*(this + 144), 80); if ( v5 ) { if ( v2 == 0.0 ) { if ( v3 == 0.0 ) { if ( v4 == 0.0 ) { v6 = (*((float (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 80); GameToolbox::intToString((GameToolbox *)&v10, (int)v6); } else { v10 = v2 != 0.0; v11 = v10; v12 = v10; std::string::__init((int *)&v10, "P2", 2u); } } else { v10 = v2 != 0.0; v11 = v10; v12 = v10; if ( v4 == 0.0 ) std::string::__init((int *)&v10, "P1", 2u); else std::string::__init((int *)&v10, "P", 1u); } CCTextInputNode::setString(v5, (int)&v10); } else { v10 = 0; v11 = 0; v12 = 0; std::string::__init((int *)&v10, "P1", 2u); CCTextInputNode::setString(v5, (int)&v10); } std::string::~string((int)&v10); } result = cocos2d::CCDictionary::objectForKey(*(this + 144), 95); v8 = result; if ( result ) { if ( v2 == 0.0 ) { v9 = (*((float (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 95); GameToolbox::intToString((GameToolbox *)&v10, (int)v9); } else { v10 = 0; v11 = 0; v12 = 0; std::string::__init((int *)&v10, "P2", 2u); } CCTextInputNode::setString(v8, (int)&v10); return std::string::~string((int)&v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source