// // sub_100015DB8 from 0x100015db8 to 0x100015e44 (140 bytes) // // 8 xrefs: // > sub_1000159EC @ 0x100015a50 // > sub_1000159EC @ 0x100015b70 // > sub_10001698C @ 0x1000169cc // > sub_1000D0CC8 @ 0x1000d0d08 // > cocos2d::CCAnimate::initWithAnimation @ 0x100220550 // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x100298268 // > EditorSFXManager::playAction_1 @ 0x1004c814c // > sub_10051D908 @ 0x10051d940 // // 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 10:57:18 +0000 // void __fastcall sub_100015DB8(__int64 a1, unsigned __int64 a2) { __int64 v3; // x20 __int64 v4; // x0 __int64 v5; // x21 __int64 v6; // x1 __int64 v7; // x22 size_t v8; // x2 void *v9; // x20 void *v10; // x0 if ( a2 > (__int64)(*(_QWORD *)(a1 + 16) - *(_QWORD *)a1) >> 2 ) { if ( a2 >> 62 ) sub_10000A5F8(); v3 = *(_QWORD *)(a1 + 8) - *(_QWORD *)a1; v4 = sub_10001843C(a1, a2); v5 = v4 + v3; v7 = v4 + 4 * v6; v8 = *(_QWORD *)(a1 + 8) - *(_QWORD *)a1; v9 = (void *)(v4 + v3 - v8); memcpy(v9, *(const void **)a1, v8); v10 = *(void **)a1; *(_QWORD *)a1 = v9; *(_QWORD *)(a1 + 8) = v5; *(_QWORD *)(a1 + 16) = v7; if ( v10 ) operator delete(v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source