// // GJGradientLayer::create from 0x59b32c to 0x59b430 (260 bytes) // // 1 xrefs: // > GJBaseGameLayer::triggerGradientCommand @ 0x59b470 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:12 +0000 // int *__fastcall GJGradientLayer::create(GJGradientLayer *this) { int *v1; // r4 int v2; // r3 int v3; // r3 int *v4; // r0 v1 = (int *)operator new(0x1F0u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1); *v1 = (int)&off_D06FE8; v1[66] = (int)&off_D072B4; v1[67] = (int)&off_D072EC; v1[68] = (int)&off_D072F8; v1[69] = (int)&off_D07308; v1[70] = (int)&off_D0731C; v1[79] = (int)&off_D07334; v1[83] = (int)&off_D07374; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 112)); v1[115] = 0; v1[116] = 0; *v1 = (int)&off_CB4DE8; v1[66] = (int)&off_CB50B4; v1[67] = (int)&off_CB50EC; v1[68] = (int)&off_CB50F8; v1[69] = (int)&off_CB5108; v1[70] = (int)&off_CB511C; v1[79] = (int)&off_CB5134; v1[83] = (int)&off_CB5174; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 117)); v2 = *v1; v1[119] = 0; *((_BYTE *)v1 + 480) = 0; v1[121] = 0; v1[122] = 0; v1[123] = 0; if ( (*(int (__fastcall **)(int *))(v2 + 40))(v1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { v3 = *v1; v4 = v1; v1 = nullptr; (*(void (__fastcall **)(int *))(v3 + 8))(v4); } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source