// // sub_10053D6F4 from 0x10053d6f4 to 0x10053dc64 (1392 bytes) // // 6 xrefs: // > sub_10053D150 @ 0x10053d4c0 // > sub_10053D150 @ 0x10053d504 // > sub_10053D150 @ 0x10053d548 // > sub_10053D150 @ 0x10053d58c // > sub_10053D150 @ 0x10053d5d8 // > sub_10053D150 @ 0x10053d62c // // 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:07:41 +0000 // __int64 __fastcall sub_10053D6F4( __int64 a1, unsigned int a2, __int64 a3, unsigned int a4, int a5, const char *a6, __int64 a7, __int64 a8, __int64 a9, __int64 a10, char a11, __int64 a12, __int64 a13) { __int64 v17; // x21 __int64 PageContainer; // x19 float v19; // s8 __int64 v20; // x23 void *v21; // x24 void *v22; // x22 void *v23; // x23 float v24; // s9 _QWORD *v25; // x28 float *v26; // x22 void *v27; // x24 void *v28; // x23 float *v29; // x0 float v30; // s11 __int64 v31; // x24 float v32; // s8 void *v33; // x22 void *v34; // x23 float *v35; // x0 __int64 v36; // x21 __int64 result; // x0 __int64 v40; // [xsp+24h] [xbp-8Ch] BYREF __int16 v41; // [xsp+2Ch] [xbp-84h] BYREF char v42; // [xsp+2Eh] [xbp-82h] _QWORD v43[2]; // [xsp+30h] [xbp-80h] BYREF v41 = a5; v42 = BYTE2(a5); v17 = *(_QWORD *)a1; PageContainer = SetupTriggerPopup::getPageContainer(*(_QWORD *)a1, a3); v19 = **(float **)(a1 + 8) + (float)((float)a4 * -42.0); sub_1000262BC((float *)&v40, **(float **)(a1 + 40), v19); v20 = *(_QWORD *)(v17 + 584); sub_1000262CC((float *)v43, 0.0, 0.0, 80.0, 80.0); v21 = cocos2d::extension::CCScale9Sprite::create((__int64)"GJ_square05.png", (__int64)v43); sub_1000262C4((float *)v43, 386.0, 36.0); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v21 + 320LL))(v21, v43); (*(void (__fastcall **)(void *, __int64 *))(*(_QWORD *)v21 + 184LL))(v21, &v40); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v20 + 464LL))(v20, v21, 0xFFFFFFFFLL); sub_1002E74E0(PageContainer); v22 = cocos2d::CCLabelBMFont::create_1(a6, "bigFont.fnt"); sub_1000262BC((float *)v43, 0.0, 0.5); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v22 + 296LL))(v22, v43); (*(void (__fastcall **)(void *, __int16 *))(*(_QWORD *)v22 + 1072LL))(v22, &v41); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v22 + 160LL))(v22, 0.45); sub_1000262BC((float *)v43, (float)(**(float **)(a1 + 40) + -193.0) + 10.0, v19); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v22 + 184LL))(v22, v43); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(v17 + 584) + 464LL))(*(_QWORD *)(v17 + 584), v22, 1); sub_1002E74E0(PageContainer); v23 = cocos2d::CCLabelBMFont::create_1("", "chatFont.fnt"); sub_1000262BC((float *)v43, 0.0, 0.5); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v23 + 296LL))(v23, v43); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v23 + 160LL))(v23, 0.42); BYTE2(v43[0]) = 120; LOWORD(v43[0]) = 30975; (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v23 + 1072LL))(v23, v43); v24 = (*(float (__fastcall **)(void *))(*(_QWORD *)v22 + 224LL))(v22); (*(void (__fastcall **)(__int64 *__return_ptr, void *))(*(_QWORD *)v22 + 336LL))(&v40, v22); sub_1000262BC((float *)v43, (float)(v24 + *(float *)&v40) + 8.0, v19); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v23 + 184LL))(v23, v43); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(v17 + 584) + 464LL))(*(_QWORD *)(v17 + 584), v23, 1); sub_1002E74E0(PageContainer); *(_QWORD *)(v17 + 8LL * a2 + 1144) = v23; v25 = (_QWORD *)(v17 + 8LL * a2); if ( a11 ) { v26 = (float *)sub_1004C2280(v17, *(_QWORD *)(v17 + 552), *(_QWORD *)(a1 + 48), 4, v17 + 1032, 0, 72.0); v26[122] = (float)(v26[121] + v26[121]) + (float)(v26[120] * 7.0); sub_1000262BC((float *)v43, **(float **)(a1 + 56), v19); (*(void (__fastcall **)(float *, _QWORD *))(*(_QWORD *)v26 + 184LL))(v26, v43); (*(void (__fastcall **)(_QWORD, float *, __int64))(**(_QWORD **)(v17 + 584) + 464LL))( *(_QWORD *)(v17 + 584), v26, 2); sub_1002E74E0(PageContainer); v25[139] = v26; } v27 = ButtonSprite::create_1(a13, 48, 0, 1, (__int64)"bigFont.fnt", (__int64)"GJ_button_01.png", 0.5, 24.0); v28 = CCMenuItemSpriteExtra::create((__int64)v27, 0, v17, a9, a10); CCMenuItemSpriteExtra::setSizeMult((__int64)v28, 1.1); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v17 + 552) + 456LL))(*(_QWORD *)(v17 + 552), v28); v29 = (float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v27 + 328LL))(v27); v30 = *v29; v31 = *(_QWORD *)(v17 + 552); v32 = v19 + 1.0; sub_1000262BC((float *)&v40, **(float **)(a1 + 64) - (float)(*v29 * 0.5), v32); cocos2d::CCNode::convertToNodeSpace(v31, (__int64)&v40, v43); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v28 + 184LL))(v28, v43); sub_1002E74E0(PageContainer); v25[157] = v28; v33 = ButtonSprite::create_1(a12, 48, 0, 1, (__int64)"bigFont.fnt", (__int64)"GJ_button_06.png", 0.5, 24.0); v34 = CCMenuItemSpriteExtra::create((__int64)v33, 0, v17, a7, a8); CCMenuItemSpriteExtra::setSizeMult((__int64)v34, 1.1); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v17 + 552) + 456LL))(*(_QWORD *)(v17 + 552), v34); v35 = (float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v33 + 328LL))(v33); v36 = *(_QWORD *)(v17 + 552); sub_1000262BC((float *)&v40, (float)((float)(**(float **)(a1 + 64) - v30) + -8.0) - (float)(*v35 * 0.5), v32); cocos2d::CCNode::convertToNodeSpace(v36, (__int64)&v40, v43); (*(void (__fastcall **)(void *, _QWORD *))(*(_QWORD *)v34 + 184LL))(v34, v43); result = sub_1002E74E0(PageContainer); v25[150] = v34; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source