// // GameSettingsLayer::create from 0x712f90 to 0x713224 (660 bytes) // // 3 xrefs: // > PauseLayer::onSideButtonPressed @ 0x48e660 // > EditorPauseLayer::onOptions @ 0x508cb0 // > OptionsLayer::onOptions @ 0x52c312 // // 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:57:45 +0000 // int *__fastcall GameSettingsLayer::create(GameSettingsLayer *this, GJBaseGameLayer *a2, int a3) { int *v5; // r4 int v6; // r3 int *v7; // r0 v5 = (int *)operator new(0x324u); memset(v5, 0, 0x324u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v5); v5[111] = 0; v5[112] = 0; v5[113] = 0; *v5 = (int)&off_C86768; *((_BYTE *)v5 + 456) = 0; v5[66] = (int)&off_C86A10; v5[115] = 0; v5[67] = (int)&off_C86A48; v5[116] = 0; v5[68] = (int)&off_C86A54; *((_BYTE *)v5 + 468) = 0; v5[69] = (int)&off_C86A64; *((_BYTE *)v5 + 469) = 0; v5[70] = (int)&off_C86A78; *((_BYTE *)v5 + 470) = 0; v5[79] = (int)&off_C86A90; *((_BYTE *)v5 + 471) = 0; v5[83] = (int)&off_C86AD0; v5[110] = (int)&off_C86AE0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 118)); v5[120] = 0; v5[121] = 0; v5[122] = 0; v5[123] = -1; *((_BYTE *)v5 + 496) = 0; *((_BYTE *)v5 + 497) = 0; v5[125] = -1; *((_BYTE *)v5 + 504) = 0; v5[127] = 0; v5[128] = 0; *((_BYTE *)v5 + 516) = 0; v5[132] = 0; v5[133] = 0; *((_BYTE *)v5 + 536) = 0; *((_BYTE *)v5 + 537) = 0; v5[135] = 0; v5[136] = 0; v5[137] = 0; *((_BYTE *)v5 + 552) = 0; v5[139] = 0; v5[140] = 0; v5[141] = 0; *((_BYTE *)v5 + 568) = 0; v5[143] = 0; v5[144] = 0; v5[145] = 0; v5[146] = 0; v5[147] = 0; v5[148] = 0; v5[149] = 0; v5[150] = 0; v5[151] = 0; v5[152] = 0; v5[153] = 0; v5[157] = (int)(v5 + 158); v5[160] = (int)(v5 + 161); v5[177] = 10; v5[154] = 0; v5[155] = 0; v5[156] = 0; v5[158] = 0; v5[159] = 0; v5[161] = 0; v5[162] = 0; *((_BYTE *)v5 + 652) = 0; *((_BYTE *)v5 + 653) = 0; v5[164] = 0; v5[165] = 0; v5[166] = 1065353216; v5[167] = 0; v5[168] = 0; v5[169] = 0; v5[170] = 0; v5[171] = 0; v5[172] = 0; v5[173] = 0; v5[174] = 0; *((_BYTE *)v5 + 700) = 0; v5[176] = 0; v5[178] = 0; v5[179] = 0; v5[180] = 0; v5[181] = 0; v5[182] = 0; v5[183] = 0; v5[184] = 0; v5[185] = -1; v5[186] = 0; v5[187] = 0; *v5 = (int)&off_CEB5B8; v5[189] = 0; v5[66] = (int)&off_CEB8B8; v5[190] = 0; v5[67] = (int)&off_CEB8F0; v5[191] = 0; v5[68] = (int)&off_CEB8FC; v5[192] = 0; v5[69] = (int)&off_CEB90C; v5[193] = 0; v5[70] = (int)&off_CEB920; v5[194] = 1065353216; v5[79] = (int)&off_CEB938; v5[195] = 0; v5[83] = (int)&off_CEB978; v5[196] = 0; v5[110] = (int)&off_CEB988; v5[197] = 0; v5[130] = (int)&off_CEB9AC; v5[198] = 0; v5[131] = (int)&off_CEB9B8; v5[199] = 0; *((_BYTE *)v5 + 800) = 0; *((_BYTE *)v5 + 801) = 0; v5[188] = (int)&off_CEB9C8; if ( GameSettingsLayer::init((GameSettingsLayer *)v5, this, (int)a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); } else { v6 = *v5; v7 = v5; v5 = nullptr; (*(void (__fastcall **)(int *))(v6 + 8))(v7); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source