{"type": "func", "start": 4297326956, "end": 4297327064, "name": "GJRobotSprite::hideSecondary", "pseudocode": "// \n// GJRobotSprite::hideSecondary from 0x10024016c to 0x1002401d8 (108 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1007c9ad0\n// > <???> @ 0x1007ca088\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 GJRobotSprite::hideSecondary(GJRobotSprite *a1)\n{\n  __int64 v2; // x20\n  __int64 v3; // x0\n\n  if ( (unsigned int)sub_10024A36C(a1->m_secondArray) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_10024A388(a1->m_secondArray, v2);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 328LL))(v3, 0);\n      v2 = (unsigned int)(v2 + 1);\n    }\n    while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_secondArray) );\n  }\n  ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_extraSprite->setVisible)(a1->m_extraSprite, 0);\n}", "assembly": "; \n; GJRobotSprite::hideSecondary from 0x10024016c to 0x1002401d8 (108 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1007c9ad0\n; > <???> @ 0x1007ca088\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, 0x10024016c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100240170\nADD             X29, SP, #0x10                                         ; +0x8, 0x100240174\nMOV             X19, X0                                                ; +0xc, 0x100240178\nLDR             X0, [X0,#0x2E0]                                        ; +0x10, 0x10024017c\nBL              sub_10024A36C                                          ; +0x14, 0x100240180\nCBZ             W0, loc_1002401BC                                      ; +0x18, 0x100240184\nMOV             W20, #0                                                ; +0x1c, 0x100240188\nLDR             X0, [X19,#0x2E0]                                       ; +0x20, 0x10024018c\nMOV             X1, X20                                                ; +0x24, 0x100240190\nBL              sub_10024A388                                          ; +0x28, 0x100240194\nLDR             X8, [X0]                                               ; +0x2c, 0x100240198\nLDR             X8, [X8,#0x148]                                        ; +0x30, 0x10024019c\nMOV             W1, #0                                                 ; +0x34, 0x1002401a0\nBLR             X8                                                     ; +0x38, 0x1002401a4\nADD             W20, W20, #1                                           ; +0x3c, 0x1002401a8\nLDR             X0, [X19,#0x2E0]                                       ; +0x40, 0x1002401ac\nBL              sub_10024A36C                                          ; +0x44, 0x1002401b0\nCMP             W20, W0                                                ; +0x48, 0x1002401b4\nB.CC            loc_10024018C                                          ; +0x4c, 0x1002401b8\nLDR             X0, [X19,#0x2F0]                                       ; +0x50, 0x1002401bc\nLDR             X8, [X0]                                               ; +0x54, 0x1002401c0\nLDR             X2, [X8,#0x148]                                        ; +0x58, 0x1002401c4\nMOV             W1, #0                                                 ; +0x5c, 0x1002401c8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1002401cc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1002401d0\nBR              X2                                                     ; +0x68, 0x1002401d4", "xrefs": ["<???> @ 0x1007c9ad0", "<???> @ 0x1007ca088"], "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"}