// // sub_100405A90 from 0x100405a90 to 0x100405b94 (260 bytes) // // 3 xrefs: // > sub_100041D44 @ 0x100041d68 // > sub_1000587D4 @ 0x1000587f8 // > EditorUI::onCopyState @ 0x10018af70 // // 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:04:41 +0000 // __int64 __fastcall sub_100405A90(__int64 result, __int64 a2, __n128 a3) { __int64 v4; // x20 __int64 v5; // x0 _DWORD *v6; // x0 __int64 *v7; // x21 double v8; // d0 __int64 v9; // x21 double v10; // d0 void *v11[2]; // [xsp+0h] [xbp-50h] BYREF char v12; // [xsp+17h] [xbp-39h] void *__p[2]; // [xsp+18h] [xbp-38h] BYREF char v14; // [xsp+2Fh] [xbp-21h] if ( a2 ) { v4 = result; v5 = *(_QWORD *)(result + 14120); if ( !v5 ) { v6 = GameObject::createWithKey(207, a3); *(_QWORD *)(v4 + 14120) = v6; (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v6 + 1264LL))(v6); v7 = *(__int64 **)(v4 + 14120); sub_100009900(__p, "lightsquare_01_01_001.png"); sub_1002F2620(v7, (char *)__p, v8); if ( v14 < 0 ) operator delete(__p[0]); v9 = *(_QWORD *)(v4 + 14120); sub_100009900(v11, "lightsquare_01_01_001.png"); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v9 + 1272LL))(v9, v11); if ( v12 < 0 ) operator delete(v11[0]); cocos2d::CCObject::retain(*(_QWORD *)(v4 + 14120)); v5 = *(_QWORD *)(v4 + 14120); } sub_1002F689C(v5, 0); sub_1002F2DD0(*(_QWORD *)(v4 + 14120), 0); GameObject::duplicateColorMode(*(_QWORD *)(v4 + 14120), a2); v10 = sub_1002FF1C8(*(_QWORD *)(v4 + 14120), a2); return sub_100405BC8(v4, *(_QWORD *)(v4 + 14120), a2, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source