// // SetTargetIDLayer::init from 0x623e04 to 0x624004 (512 bytes) // // 1 xrefs: // > SetTargetIDLayer::create @ 0x624264 // // 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:08 +0000 // int __fastcall SetTargetIDLayer::init( int a1, EffectGameObject *a2, cocos2d::CCArray *a3, int a4, _BYTE *a5, int a6, int a7, int a8) { _BYTE *v10; // r9 int v11; // r8 cocos2d::CCDirector *v12; // r0 char *v13; // r1 int v14; // r3 bool v15; // nf size_t v16; // r0 int v18; // [sp+24h] [bp-68h] float v19[2]; // [sp+34h] [bp-58h] BYREF _BYTE v20[8]; // [sp+3Ch] [bp-50h] BYREF _BYTE v21[8]; // [sp+44h] [bp-48h] BYREF _BYTE v22[8]; // [sp+4Ch] [bp-40h] BYREF int v23[3]; // [sp+54h] [bp-38h] BYREF int v24[3]; // [sp+60h] [bp-2Ch] BYREF int v25[3]; // [sp+6Ch] [bp-20h] BYREF int v26; // [sp+78h] [bp-14h] BYREF int v27; // [sp+7Ch] [bp-10h] int v28; // [sp+80h] [bp-Ch] v10 = a5; v11 = SetupTriggerPopup::init((SetupTriggerPopup *)a1, a2, a3, 300.0, 240.0, 1, 0.0); if ( v11 ) { *(_DWORD *)(a1 + 712) = a8; *(_DWORD *)(a1 + 716) = a6; *(_DWORD *)(a1 + 720) = a7; v12 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)a1 + 680))(a1); cocos2d::CCDirector::sharedDirector(v12); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v19); std::string::basic_string(&v26, a4); SetupTriggerPopup::addTitle(a1, &v26); std::string::~string((int)&v26); v26 = 0; v27 = 0; v28 = 0; std::string::__init(&v26, "OK", 2u); SetupTriggerPopup::addCloseButton(a1, &v26); std::string::~string((int)&v26); memset(v23, 0, sizeof(v23)); if ( a8 == 3662 ) v13 = "Ensures visibility of every object in Group ID. If one object in the group is visible, all o" "bject will be visible even if offscreen.\n" "Processed at level load and cannot be disabled after."; else v13 = "Stops an Area trigger using Effect ID."; std::string::assign(v23, v13); memset(v24, 0, sizeof(v24)); std::string::__init(v24, "Help", 4u); std::string::basic_string(v25, (int)v23); SetupTriggerPopup::addHelpButton(a1, v24, v25, 1065353216); std::string::~string((int)v25); std::string::~string((int)v24); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v19[0] * 0.5, v19[1] * 0.5); if ( a8 == 3024 ) v14 = 5; else v14 = 1; v18 = v14; v15 = (*a5 & 1) != 0; if ( (*a5 & 1) == 0 ) v10 = a5 + 1; v26 = 0; if ( v15 ) v10 = *((_BYTE **)v10 + 2); v27 = 0; v28 = 0; v16 = strlen(v10); std::string::__init(&v26, v10, v16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v21, 0.0, 0.0); cocos2d::CCPoint::operator+(v22, v20, v21); IDNameInput::create(a1, a1 + 440, v18, 51, (int)&v26, (int)v22, 1.0, 6, 0, 0, 0); std::string::~string((int)&v26); if ( a8 != 3662 ) SetupTriggerPopup::createMultiTriggerItemsDefault((SetupTriggerPopup *)a1); (*(void (__fastcall **)(int))(*(_DWORD *)a1 + 716))(a1); *(_BYTE *)(a1 + 568) = 0; std::string::~string((int)v23); } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source