{"type": "func", "start": 4297468236, "end": 4297468380, "name": "GameObject::addNewSlope01", "pseudocode": "// \n// GameObject::addNewSlope01 from 0x10026294c to 0x1002629dc (144 bytes)\n// \n// 2 xrefs:\n// > GameObject::setupCustomSprites @ 0x1002b0818\n// > GameObject::setupCustomSprites @ 0x1002bfdf4\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\nvoid __fastcall GameObject::addNewSlope01(GameObject *a1, bool a2)\n{\n  cocos2d::CCSprite *v3; // x19\n  float32x2_t v4; // [xsp+0h] [xbp-30h] BYREF\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  if ( a2 )\n    a1->m_bDontDraw = 1;\n  sub_100009900(__p, \"blockOutline_14new_001.png\");\n  sub_1000229B8((__int64 *)&v4, (__int64 *)&stru_10086D4E0);\n  v3 = GameObject::addCustomChild((__int64)a1, (const char *)__p, &v4, 2);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))v3->setRotation)(v3, -45.0);\n}", "assembly": "; \n; GameObject::addNewSlope01 from 0x10026294c to 0x1002629dc (144 bytes)\n; \n; 2 xrefs:\n; > GameObject::setupCustomSprites @ 0x1002b0818\n; > GameObject::setupCustomSprites @ 0x1002bfdf4\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, #0x40                                          ; +0x0, 0x10026294c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100262950\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100262954\nADD             X29, SP, #0x30                                         ; +0xc, 0x100262958\nMOV             X19, X0                                                ; +0x10, 0x10026295c\nCBZ             W1, loc_10026296C                                      ; +0x14, 0x100262960\nMOV             W8, #1                                                 ; +0x18, 0x100262964\nSTRB            W8, [X19,#0x22F]                                       ; +0x1c, 0x100262968\nADRL            X1, aBlockoutline14; \"blockOutline_14new_001.png\"      ; +0x20, 0x10026296c\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x100262974\nBL              sub_100009900                                          ; +0x2c, 0x100262978\nADRL            X1, stru_10086D4E0                                     ; +0x30, 0x10026297c\nMOV             X0, SP                                                 ; +0x38, 0x100262984\nBL              sub_1000229B8                                          ; +0x3c, 0x100262988\nADD             X1, SP, #0x30+__p                                      ; +0x40, 0x10026298c\nMOV             X2, SP                                                 ; +0x44, 0x100262990\nMOV             X0, X19                                                ; +0x48, 0x100262994\nMOV             W3, #2                                                 ; +0x4c, 0x100262998\nBL              GameObject__addCustomChild                             ; +0x50, 0x10026299c\nMOV             X19, X0                                                ; +0x54, 0x1002629a0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x1002629a4\nTBZ             W8, #0x1F, loc_1002629B4                               ; +0x5c, 0x1002629a8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x1002629ac\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x1002629b0\nLDR             X8, [X19]                                              ; +0x68, 0x1002629b4\nLDR             X8, [X8,#0x158]                                        ; +0x6c, 0x1002629b8\nMOV             W9, #0xC2340000                                        ; +0x70, 0x1002629bc\nFMOV            S0, W9                                                 ; +0x74, 0x1002629c0\nMOV             X0, X19                                                ; +0x78, 0x1002629c4\nBLR             X8                                                     ; +0x7c, 0x1002629c8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x1002629cc\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x1002629d0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x88, 0x1002629d4\nRET                                                                    ; +0x8c, 0x1002629d8", "xrefs": ["GameObject::setupCustomSprites @ 0x1002b0818", "GameObject::setupCustomSprites @ 0x1002bfdf4"], "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"}