// // GJMapObject::init from 0x100250b60 to 0x100250c59 (249 bytes) // // 1 xrefs: // > GJMapObject::create @ 0x100250b0b // // 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:27:24 +0000 // char __fastcall GJMapObject::init(_QWORD *a1, __int64 a2) { __int64 v2; // rax __int64 v3; // rbx _BYTE v5[32]; // [rsp-20h] [rbp-20h] BYREF if ( !a2 ) return 0; if ( !(unsigned __int8)cocos2d::CCNode::init(a1) ) return 0; a1[41] = a2; cocos2d::CCObject::retain(a2); (*(void (__fastcall **)(_QWORD *, _QWORD, __int64))(*a1 + 464LL))(a1, a1[41], 2); v2 = cocos2d::CCSprite::createWithSpriteFrameName("chest_shadow_001.png"); a1[42] = v2; (*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 464LL))(a1, v2, 1); (*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)a1[42] + 128LL))(a1[42], 0.16); (*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)a1[42] + 144LL))(a1[42], 0.44999999); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[42] + 912LL))(a1[42], 50); v3 = a1[42]; sub_100278250(v5, 0.0, -9.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v3 + 184LL))(v3, v5); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source