{"type": "func", "start": 4296182820, "end": 4296182992, "name": "CharacterColorPage::create", "pseudocode": "// \n// CharacterColorPage::create from 0x100128c24 to 0x100128cd0 (172 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::onPaint @ 0x100304598\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nCharacterColorPage *__fastcall CharacterColorPage::create()\n{\n  char *v0; // x19\n\n  v0 = (char *)operator new(0x2C0u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);\n  *(_QWORD *)v0 = off_100791130;\n  *((_QWORD *)v0 + 40) = off_100791650;\n  *((_QWORD *)v0 + 41) = &off_1007916C0;\n  *((_QWORD *)v0 + 42) = off_1007916D8;\n  *((_QWORD *)v0 + 43) = off_1007916F8;\n  *((_QWORD *)v0 + 44) = off_100791718;\n  *((_QWORD *)v0 + 51) = off_100791740;\n  *((_QWORD *)v0 + 54) = off_1007917C0;\n  *((_DWORD *)v0 + 158) = 0;\n  *((_QWORD *)v0 + 87) = 0;\n  *(_OWORD *)(v0 + 648) = 0u;\n  *(_OWORD *)(v0 + 664) = 0u;\n  *(_OWORD *)(v0 + 680) = 0u;\n  if ( CharacterColorPage::init((CharacterColorPage *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (CharacterColorPage *)v0;\n}", "assembly": "; \n; CharacterColorPage::create from 0x100128c24 to 0x100128cd0 (172 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::onPaint @ 0x100304598\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100128c24\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100128c28\nADD             X29, SP, #0x10                                         ; +0x8, 0x100128c2c\nMOV             W0, #0x2C0; __sz                                       ; +0xc, 0x100128c30\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100128c34\nMOV             X19, X0                                                ; +0x14, 0x100128c38\nBL              FLAlertLayer__FLAlertLayer                             ; +0x18, 0x100128c3c\nADRL            X8, off_100791130                                      ; +0x1c, 0x100128c40\nSTR             X8, [X19]                                              ; +0x24, 0x100128c48\nADD             X9, X8, #(off_100791650 - 0x100791130)                 ; +0x28, 0x100128c4c\nADD             X10, X8, #(off_1007916C0 - 0x100791130)                ; +0x2c, 0x100128c50\nSTP             X9, X10, [X19,#0x140]                                  ; +0x30, 0x100128c54\nADD             X9, X8, #(off_1007916D8 - 0x100791130)                 ; +0x34, 0x100128c58\nADD             X10, X8, #(off_1007916F8 - 0x100791130)                ; +0x38, 0x100128c5c\nSTP             X9, X10, [X19,#0x150]                                  ; +0x3c, 0x100128c60\nADD             X9, X8, #(off_100791718 - 0x100791130)                 ; +0x40, 0x100128c64\nSTR             X9, [X19,#0x160]                                       ; +0x44, 0x100128c68\nADD             X9, X8, #(off_100791740 - 0x100791130)                 ; +0x48, 0x100128c6c\nSTR             X9, [X19,#0x198]                                       ; +0x4c, 0x100128c70\nADD             X8, X8, #(off_1007917C0 - 0x100791130)                 ; +0x50, 0x100128c74\nSTR             X8, [X19,#0x1B0]                                       ; +0x54, 0x100128c78\nSTR             WZR, [X19,#0x278]                                      ; +0x58, 0x100128c7c\nADD             X8, X19, #0x288                                        ; +0x5c, 0x100128c80\nSTR             XZR, [X19,#0x2B8]                                      ; +0x60, 0x100128c84\nMOVI            V0.16B, #0                                             ; +0x64, 0x100128c88\nSTP             Q0, Q0, [X8]                                           ; +0x68, 0x100128c8c\nSTR             Q0, [X8,#0x20]                                         ; +0x6c, 0x100128c90\nMOV             X0, X19                                                ; +0x70, 0x100128c94\nBL              CharacterColorPage__init                               ; +0x74, 0x100128c98\nCBZ             W0, loc_100128CAC                                      ; +0x78, 0x100128c9c\nMOV             X0, X19                                                ; +0x7c, 0x100128ca0\nBL              cocos2d__CCObject__autorelease                         ; +0x80, 0x100128ca4\nB               loc_100128CC0                                          ; +0x84, 0x100128ca8\nLDR             X8, [X19]                                              ; +0x88, 0x100128cac\nLDR             X8, [X8,#0x10]                                         ; +0x8c, 0x100128cb0\nMOV             X0, X19                                                ; +0x90, 0x100128cb4\nBLR             X8                                                     ; +0x94, 0x100128cb8\nMOV             X19, #0                                                ; +0x98, 0x100128cbc\nMOV             X0, X19                                                ; +0x9c, 0x100128cc0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa0, 0x100128cc4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa4, 0x100128cc8\nRET                                                                    ; +0xa8, 0x100128ccc", "xrefs": ["GJGarageLayer::onPaint @ 0x100304598"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}