// // sub_1001AC8DC from 0x1001ac8dc to 0x1001ac994 (184 bytes) // // 1 xrefs: // > cocos2d::CCSet::addObject @ 0x1001ac530 // // 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 // _QWORD *__fastcall sub_1001AC8DC(__int64 a1, unsigned __int64 *a2, _QWORD *a3) { _QWORD *v5; // x9 _QWORD *v6; // x22 unsigned __int64 v7; // x8 _QWORD *v8; // x21 unsigned __int64 v9; // x9 _QWORD *v10; // x23 v6 = (_QWORD *)(a1 + 8); v5 = *(_QWORD **)(a1 + 8); if ( v5 ) { v7 = *a2; while ( 1 ) { while ( 1 ) { v8 = v5; v9 = v5[4]; if ( v7 >= v9 ) break; v5 = (_QWORD *)*v8; v6 = v8; if ( !*v8 ) goto LABEL_10; } if ( v9 >= v7 ) break; v5 = (_QWORD *)v8[1]; if ( !v5 ) { v6 = v8 + 1; goto LABEL_10; } } } else { v8 = (_QWORD *)(a1 + 8); LABEL_10: v10 = operator new(0x28u); v10[4] = *a3; sub_10000A0F0((__int64 **)a1, (__int64)v8, v6, v10); return v10; } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source