// // GJGameLoadingLayer::init from 0x100144d30 to 0x100144e24 (244 bytes) // // 2 xrefs: // > GJGameLoadingLayer::transitionToLoadingLayer @ 0x100144953 // > GJGameLoadingLayer::create @ 0x100144a61 // // This function is hookable on this platform (idp: pc, 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 12:24:57 +0000 // __int64 __fastcall GJGameLoadingLayer::init(__int64 a1, __int64 a2, char a3) { _BYTE *v4; // rbx __int64 result; // rax unsigned int v6; // r12d __int64 v7; // rax __int64 v8; // r14 float v9; // [rsp+0h] [rbp-30h] BYREF _BYTE v10[40]; // [rsp+8h] [rbp-28h] BYREF v4 = (_BYTE *)a1; result = cocos2d::CCLayer::init(); if ( (_BYTE)result ) { v6 = result; if ( a2 ) { *(_QWORD *)(a1 + 408) = a2; a1 = a2; cocos2d::CCObject::retain(a2); } v4[416] = a3; v7 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(&v9, v7); v8 = cocos2d::CCLabelBMFont::create_3("Loading...", "bigFont.fnt"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 0.69999999); (*(void (__fastcall **)(_BYTE *, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v8, 1); sub_100278250(v10, 1.0, 0.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 296LL))(v8, v10); sub_100278250(v10, v9 + -20.0, 20.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 184LL))(v8, v10); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source