// // GJGameLoadingLayer::init from 0x9ad7e8 to 0x9ad90c (292 bytes) // // 2 xrefs: // > GJGameLoadingLayer::create @ 0x9ad984 // > @ 0x7ace0 // // 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 12:58:13 +0000 // __int64 __fastcall GJGameLoadingLayer::init(GJGameLoadingLayer *this, GJGameLevel *a2, char a3) { unsigned __int64 v5; // x0 unsigned int v6; // w23 cocos2d::CCDirector *v7; // x0 const char *v8; // x2 __int64 v9; // x21 void (__fastcall *v10)(__int64, _BYTE *); // x22 void (__fastcall *v11)(__int64, _BYTE *); // x22 __int64 v14; // [xsp+58h] [xbp+58h] BYREF _BYTE v15[8]; // [xsp+60h] [xbp+60h] BYREF v5 = (unsigned __int8)cocos2d::CCLayer::init(this); v6 = (unsigned __int8)v5; if ( (_BYTE)v5 ) { if ( a2 ) { *((_QWORD *)this + 51) = a2; v5 = cocos2d::CCObject::retain(a2); } *((_BYTE *)this + 416) = a3; v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v5); cocos2d::CCDirector::getWinSize(&v14, v7); v9 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Loading...", "bigFont.fnt", v8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v9 + 160LL))(v9, 0.7); (*(void (__fastcall **)(GJGameLoadingLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v9, 1); v10 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, 1.0, 0.0); v10(v9, v15); v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, *(float *)&v14 - 20.0, 20.0); v11(v9, v15); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source