{"type": "func", "start": 4297342380, "end": 4297342580, "name": "GJSpecialColorSelect::create", "pseudocode": "// \n// GJSpecialColorSelect::create from 0x100243dac to 0x100243e74 (200 bytes)\n// \n// 4 xrefs:\n// > sub_10037BE28 @ 0x10037be48\n// > sub_10045D048 @ 0x10045d064\n// > sub_10045D4C4 @ 0x10045d4e0\n// > sub_1004A0FB4 @ 0x1004a0fd4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:01:25 +0000\n// \n\n_QWORD *__fastcall GJSpecialColorSelect::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  _QWORD *v6; // x19\n\n  v6 = operator new(0x2B0u);\n  FLAlertLayer::FLAlertLayer((__int64)v6);\n  *v6 = off_100906CE0;\n  v6[40] = off_100907230;\n  v6[41] = &off_1009072A0;\n  v6[42] = off_1009072B8;\n  v6[43] = off_1009072D8;\n  v6[44] = off_100907300;\n  v6[51] = off_100907330;\n  v6[54] = off_1009073B0;\n  v6[68] = off_1009073D0;\n  v6[83] = 0;\n  *((_DWORD *)v6 + 168) = 0;\n  v6[85] = 0;\n  if ( (unsigned int)GJSpecialColorSelect::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; GJSpecialColorSelect::create from 0x100243dac to 0x100243e74 (200 bytes)\n; \n; 4 xrefs:\n; > sub_10037BE28 @ 0x10037be48\n; > sub_10045D048 @ 0x10045d064\n; > sub_10045D4C4 @ 0x10045d4e0\n; > sub_1004A0FB4 @ 0x1004a0fd4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:01:25 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100243dac\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100243db0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100243db4\nADD             X29, SP, #0x20                                         ; +0xc, 0x100243db8\nMOV             X20, X2                                                ; +0x10, 0x100243dbc\nMOV             X21, X1                                                ; +0x14, 0x100243dc0\nMOV             X22, X0                                                ; +0x18, 0x100243dc4\nMOV             W0, #0x2B0; __sz                                       ; +0x1c, 0x100243dc8\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x100243dcc\nMOV             X19, X0                                                ; +0x24, 0x100243dd0\nBL              FLAlertLayer__FLAlertLayer                             ; +0x28, 0x100243dd4\nADRL            X8, off_100906CE0                                      ; +0x2c, 0x100243dd8\nSTR             X8, [X19]                                              ; +0x34, 0x100243de0\nADD             X9, X8, #(off_100907230 - 0x100906CE0)                 ; +0x38, 0x100243de4\nADD             X10, X8, #(off_1009072A0 - 0x100906CE0)                ; +0x3c, 0x100243de8\nSTP             X9, X10, [X19,#0x140]                                  ; +0x40, 0x100243dec\nADD             X9, X8, #(off_1009072B8 - 0x100906CE0)                 ; +0x44, 0x100243df0\nADD             X10, X8, #(off_1009072D8 - 0x100906CE0)                ; +0x48, 0x100243df4\nSTP             X9, X10, [X19,#0x150]                                  ; +0x4c, 0x100243df8\nADD             X9, X8, #(off_100907300 - 0x100906CE0)                 ; +0x50, 0x100243dfc\nSTR             X9, [X19,#0x160]                                       ; +0x54, 0x100243e00\nADD             X9, X8, #(off_100907330 - 0x100906CE0)                 ; +0x58, 0x100243e04\nSTR             X9, [X19,#0x198]                                       ; +0x5c, 0x100243e08\nADD             X9, X8, #(off_1009073B0 - 0x100906CE0)                 ; +0x60, 0x100243e0c\nSTR             X9, [X19,#0x1B0]                                       ; +0x64, 0x100243e10\nADD             X8, X8, #(off_1009073D0 - 0x100906CE0)                 ; +0x68, 0x100243e14\nSTR             X8, [X19,#0x220]                                       ; +0x6c, 0x100243e18\nSTR             XZR, [X19,#0x298]                                      ; +0x70, 0x100243e1c\nSTR             WZR, [X19,#0x2A0]                                      ; +0x74, 0x100243e20\nSTR             XZR, [X19,#0x2A8]                                      ; +0x78, 0x100243e24\nMOV             X0, X19                                                ; +0x7c, 0x100243e28\nMOV             X1, X22                                                ; +0x80, 0x100243e2c\nMOV             X2, X21                                                ; +0x84, 0x100243e30\nMOV             X3, X20                                                ; +0x88, 0x100243e34\nBL              GJSpecialColorSelect__init                             ; +0x8c, 0x100243e38\nCBZ             W0, loc_100243E4C                                      ; +0x90, 0x100243e3c\nMOV             X0, X19                                                ; +0x94, 0x100243e40\nBL              cocos2d__CCObject__autorelease                         ; +0x98, 0x100243e44\nB               loc_100243E60                                          ; +0x9c, 0x100243e48\nLDR             X8, [X19]                                              ; +0xa0, 0x100243e4c\nLDR             X8, [X8,#0x10]                                         ; +0xa4, 0x100243e50\nMOV             X0, X19                                                ; +0xa8, 0x100243e54\nBLR             X8                                                     ; +0xac, 0x100243e58\nMOV             X19, #0                                                ; +0xb0, 0x100243e5c\nMOV             X0, X19                                                ; +0xb4, 0x100243e60\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb8, 0x100243e64\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xbc, 0x100243e68\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc0, 0x100243e6c\nRET                                                                    ; +0xc4, 0x100243e70", "xrefs": ["sub_10037BE28 @ 0x10037be48", "sub_10045D048 @ 0x10045d064", "sub_10045D4C4 @ 0x10045d4e0", "sub_1004A0FB4 @ 0x1004a0fd4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}