// // sub_1002D008C from 0x1002d008c to 0x1002d0240 (436 bytes) // // 1 xrefs: // > sub_1002CFEDC @ 0x1002cff0c // // 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:02:37 +0000 // void __fastcall sub_1002D008C(int *a1) { char *v2; // x1 __int64 (__fastcall ***v3)(); // x19 __int64 v4; // x0 float v5; // s0 float32_t v6; // s0 float v7; // s8 __int64 v8; // x0 __int64 v9; // x20 float v10; // s8 __int64 v11; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v13; // [xsp+17h] [xbp-39h] void *v14[2]; // [xsp+18h] [xbp-38h] BYREF char v15; // [xsp+2Fh] [xbp-21h] GauntletNode::frameForType(a1[79], v14); if ( v15 >= 0 ) v2 = (char *)v14; else v2 = (char *)v14[0]; sub_100009900(__p, v2); v3 = CCSpriteGrayscale::createWithSpriteFrameName((__int64 *)__p); if ( v13 < 0 ) operator delete(__p[0]); BYTE2(__p[0]) = -1; LOWORD(__p[0]) = -256; ((void (__fastcall *)(__int64 (__fastcall ***)(), void **))(*v3)[120])(v3, __p); v4 = (*(__int64 (__fastcall **)(int *, __int64 (__fastcall ***)()))(*(_QWORD *)a1 + 456LL))(a1, v3); v5 = sub_1002D028C(v4, (unsigned int)a1[79]); v6 = sub_100238780((float32x2_t *)v3, v5); v7 = *(float *)(*(__int64 (__fastcall **)(int *, float32_t))(*(_QWORD *)a1 + 328LL))(a1, v6); v8 = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)a1 + 328LL))(a1); sub_1000262BC((float *)__p, v7 * 0.5, *(float *)(v8 + 4) * 0.5); ((void (__fastcall *)(__int64 (__fastcall ***)(), void **))(*v3)[23])(v3, __p); BYTE2(__p[0]) = -31; LOWORD(__p[0]) = -7711; ((void (__fastcall *)(__int64 (__fastcall ***)(), void **))(*v3)[120])(v3, __p); v9 = cocos2d::CCSprite::createWithSpriteFrameName("gauntletLock_001.png"); ((void (__fastcall *)(__int64 (__fastcall ***)(), __int64, __int64))(*v3)[58])(v3, v9, 1); v10 = *(float *)((__int64 (__fastcall *)(__int64 (__fastcall ***)()))(*v3)[41])(v3); v11 = ((__int64 (__fastcall *)(__int64 (__fastcall ***)()))(*v3)[41])(v3); sub_1000262BC((float *)__p, v10 * 0.5, *(float *)(v11 + 4) * 0.5); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v9 + 184LL))(v9, __p); if ( v15 < 0 ) operator delete(v14[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source