// // GJMapObject::init from 0xac1810 to 0xac1944 (308 bytes) // // 2 xrefs: // > GJMapObject::create @ 0xac19b8 // > @ 0xf9c10 // // 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 13:01:05 +0000 // __int64 __fastcall GJMapObject::init(GJMapObject *this, cocos2d::CCNode *a2) { unsigned __int8 v3; // w0 unsigned int v4; // w21 const char *v6; // x1 __int64 v7; // x0 __int64 v8; // x19 void (__fastcall *v9)(__int64, _BYTE *); // x22 _BYTE v11[8]; // [xsp+40h] [xbp+40h] BYREF if ( a2 && (v3 = cocos2d::CCNode::init(this), (v4 = v3) != 0) ) { *((_QWORD *)this + 41) = a2; cocos2d::CCObject::retain(a2); (*(void (__fastcall **)(GJMapObject *, _QWORD, __int64))(*(_QWORD *)this + 464LL))(this, *((_QWORD *)this + 41), 2); v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"chest_shadow_001.png", v6); *((_QWORD *)this + 42) = v7; (*(void (__fastcall **)(GJMapObject *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v7, 1); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 42) + 128LL))(*((_QWORD *)this + 42), 0.16); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 42) + 144LL))(*((_QWORD *)this + 42), 0.45); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 42) + 912LL))(*((_QWORD *)this + 42), 50); v8 = *((_QWORD *)this + 42); v9 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, -9.0); v9(v8, v11); } else { return 0; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source