// // EditorUI::onTargetIDChange from 0x10047cd4c to 0x10047ce80 (308 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x100162d20 // > EditorUI::handleEditorAction @ 0x1001632ec // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:05:44 +0000 // __int64 __fastcall EditorUI::onTargetIDChange(__int64 a1, int a2) { __int64 v4; // x0 void *v5; // x20 __int64 result; // x0 unsigned int v7; // w21 __int64 v8; // x0 unsigned int v9; // w21 _DWORD *v10; // x23 int v11; // w8 __int64 v12; // x0 __int64 v13; // x24 void *v14; // x0 __int64 CString; // x0 v4 = *(_QWORD *)(a1 + 1496); if ( v4 ) v5 = sub_1002E73C8(v4); else v5 = *(void **)(a1 + 896); result = sub_1002E757C((__int64)v5); if ( (_DWORD)result ) { if ( (unsigned int)sub_1002E757C((__int64)v5) ) { v7 = 0; while ( 1 ) { v8 = sub_1002E75A0((__int64)v5, v7); result = sub_1002F6C10(v8); if ( (result & 1) == 0 ) break; if ( ++v7 >= (unsigned int)sub_1002E757C((__int64)v5) ) goto LABEL_9; } } else { LABEL_9: result = sub_1002E757C((__int64)v5); if ( (_DWORD)result ) { v9 = 0; do { v10 = (_DWORD *)sub_1002E75A0((__int64)v5, v9); if ( (unsigned int)sub_1002F6C10((__int64)v10) ) { v11 = v10[366]; if ( v11 >= 1 ) { sub_10042235C((__int64)v10, v11 + a2); v12 = (*(__int64 (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v10 + 480LL))(v10, 999); if ( v12 ) { v13 = v12; v14 = sub_1003065B0("%i", v10[366]); CString = cocos2d::CCString::getCString((__int64)v14); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 928LL))(v13, CString); } } } ++v9; result = sub_1002E757C((__int64)v5); } while ( v9 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source