// // GJGarageLayer::node from 0x402484 to 0x40256e (234 bytes) // // 1 xrefs: // > GJGarageLayer::scene @ 0x402582 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // GJGarageLayer *GJGarageLayer::node() { int v0; // r4 v0 = operator new(0x1B8u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0); *(_DWORD *)(v0 + 348) = 0; *(_DWORD *)(v0 + 360) = 0; *(_DWORD *)v0 = &off_A5D500; *(_DWORD *)(v0 + 364) = 0; *(_DWORD *)(v0 + 264) = &off_A5D768; *(_BYTE *)(v0 + 368) = 0; *(_DWORD *)(v0 + 268) = &off_A5D7A0; *(_DWORD *)(v0 + 272) = &off_A5D7AC; *(_DWORD *)(v0 + 276) = &off_A5D7BC; *(_DWORD *)(v0 + 280) = &off_A5D7CC; *(_DWORD *)(v0 + 316) = &off_A5D7E0; *(_DWORD *)(v0 + 320) = &off_A5D804; *(_DWORD *)(v0 + 324) = &off_A5D810; *(_DWORD *)(v0 + 328) = &off_A5D81C; *(_DWORD *)(v0 + 332) = &off_A5D828; *(_DWORD *)(v0 + 336) = &off_A5D834; *(_DWORD *)(v0 + 340) = &off_A5D844; memset((void *)(v0 + 380), 0, 0x10u); *(_DWORD *)(v0 + 396) = 0; *(_DWORD *)(v0 + 404) = 0; *(_DWORD *)(v0 + 408) = 0; *(_DWORD *)(v0 + 412) = 0; *(_DWORD *)(v0 + 428) = 0; *(_DWORD *)(v0 + 432) = 0; *(_BYTE *)(v0 + 436) = 0; *(_DWORD *)(v0 + 388) = v0 + 380; *(_DWORD *)(v0 + 392) = v0 + 380; if ( GJGarageLayer::init((GJGarageLayer *)v0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0); return (GJGarageLayer *)v0; } else { (*(void (__fastcall **)(int))(*(_DWORD *)v0 + 8))(v0); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source