// // sub_1000300E0 from 0x1000300e0 to 0x10003019c (188 bytes) // // 1 xrefs: // > GJBaseGameLayer::createMiddleground @ 0x100278810 // // 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 10:57:30 +0000 // char *__fastcall sub_1000300E0(__int64 a1) { char *v2; // x19 v2 = (char *)operator new(0x1E8u); cocos2d::CCLayer::CCLayer(); *(_QWORD *)v2 = &off_1008B13D0; *((_QWORD *)v2 + 40) = off_1008B1868; *((_QWORD *)v2 + 41) = &off_1008B18D8; *((_QWORD *)v2 + 42) = off_1008B18F0; *((_QWORD *)v2 + 43) = &off_1008B1910; *((_QWORD *)v2 + 44) = off_1008B1938; *((_QWORD *)v2 + 54) = 0; v2[440] = 0; *((_DWORD *)v2 + 111) = 0; *((_QWORD *)v2 + 51) = 0; *((_QWORD *)v2 + 52) = 0; *((_DWORD *)v2 + 106) = 0; *((_WORD *)v2 + 224) = 257; *((_DWORD *)v2 + 113) = 0; *(_DWORD *)(v2 + 455) = 0; *((_QWORD *)v2 + 59) = 0; *((_QWORD *)v2 + 60) = 0; *((_QWORD *)v2 + 58) = 0; if ( (unsigned int)sub_1000301B0(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source