{"type": "func", "start": 4297101660, "end": 4297101772, "name": "GJGradientLayer::init", "pseudocode": "// \n// GJGradientLayer::init from 0x10020915c to 0x1002091cc (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007c1410\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\nbool __fastcall GJGradientLayer::init(GJGradientLayer *a1)\n{\n  _BOOL4 v2; // w20\n  __n128 v3; // q0\n  __n128 v4; // q1\n  int v6; // [xsp+4h] [xbp-1Ch] BYREF\n  int v7; // [xsp+Ch] [xbp-14h] BYREF\n\n  v6 = -1;\n  v7 = -16777216;\n  v2 = cocos2d::CCLayerGradient::initWithColor_1(a1, (const cocos2d::ccColor4B *)&v6, (const cocos2d::ccColor4B *)&v7);\n  if ( v2 )\n  {\n    v3.n128_u32[0] = 0;\n    v4.n128_u32[0] = 0;\n    sub_100022980(v3, v4, &v6);\n    ((void (__fastcall *)(GJGradientLayer *, int *))a1->setAnchorPoint)(a1, &v6);\n  }\n  return v2;\n}", "assembly": "; \n; GJGradientLayer::init from 0x10020915c to 0x1002091cc (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007c1410\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x10020915c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100209160\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100209164\nADD             X29, SP, #0x20                                         ; +0xc, 0x100209168\nMOV             X19, X0                                                ; +0x10, 0x10020916c\nMOV             W8, #0xFFFFFFFF                                        ; +0x14, 0x100209170\nSTR             W8, [SP,#0x20+var_1C]                                  ; +0x18, 0x100209174\nMOV             W8, #0xFF000000                                        ; +0x1c, 0x100209178\nSTR             W8, [SP,#0x20+var_14]                                  ; +0x20, 0x10020917c\nADD             X1, SP, #0x20+var_1C                                   ; +0x24, 0x100209180\nADD             X2, SP, #0x20+var_14                                   ; +0x28, 0x100209184\nBL              cocos2d__CCLayerGradient__initWithColor_1              ; +0x2c, 0x100209188\nMOV             X20, X0                                                ; +0x30, 0x10020918c\nCBZ             W0, loc_1002091B8                                      ; +0x34, 0x100209190\nADD             X0, SP, #0x20+var_1C                                   ; +0x38, 0x100209194\nFMOV            S0, WZR                                                ; +0x3c, 0x100209198\nFMOV            S1, WZR                                                ; +0x40, 0x10020919c\nBL              sub_100022980                                          ; +0x44, 0x1002091a0\nLDR             X8, [X19]                                              ; +0x48, 0x1002091a4\nLDR             X8, [X8,#0x118]                                        ; +0x4c, 0x1002091a8\nADD             X1, SP, #0x20+var_1C                                   ; +0x50, 0x1002091ac\nMOV             X0, X19                                                ; +0x54, 0x1002091b0\nBLR             X8                                                     ; +0x58, 0x1002091b4\nMOV             X0, X20                                                ; +0x5c, 0x1002091b8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x1002091bc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x1002091c0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x68, 0x1002091c4\nRET                                                                    ; +0x6c, 0x1002091c8", "xrefs": ["<???> @ 0x1007c1410"], "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"}