// // sub_100047A38 from 0x100047a38 to 0x100047bdc (420 bytes) // // 2 xrefs: // > sub_100047A28 @ 0x100047a34 // > LevelBrowserLayer::init @ 0x10049671c // // 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:39 +0000 // __int64 __fastcall sub_100047A38(char *a1, __int64 a2, int a3, __int64 a4) { __int64 v7; // x21 __int64 v8; // x20 __int64 v9; // x0 __int64 v10; // x22 __int64 v11; // x0 float v12; // s8 __int64 v13; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v16; // [xsp+17h] [xbp-39h] __int16 v17; // [xsp+1Ch] [xbp-34h] BYREF char v18; // [xsp+1Eh] [xbp-32h] v17 = a3; v18 = BYTE2(a3); v7 = cocos2d::CCSprite::createWithSpriteFrameName(a1); sub_100009900(__p, a1); v8 = CCSpriteGrayscale::createWithSpriteFrameName(__p); if ( v16 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 912LL))(v8, a4); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v8 + 960LL))(v8, &v17); v9 = sub_100238780(v8, 1.15); v10 = cocos2d::CCNode::create(v9); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 328LL))(v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 320LL))(v10, v11); v12 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 328LL))(v10) * 0.5; v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 328LL))(v10); sub_1000262BC((float *)__p, v12, *(float *)(v13 + 4) * 0.5); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v7 + 184LL))(v7, __p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 72LL))(v7, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 456LL))(v10, v7); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v8 + 184LL))(v8, __p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 72LL))(v8, 2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 456LL))(v10, v8); sub_100047BF8(v10, a2); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source