{"type": "func", "start": 4301115680, "end": 4301115786, "name": "GJRobotSprite::hideSecondary", "pseudocode": "// \n// GJRobotSprite::hideSecondary from 0x1005dd120 to 0x1005dd18a (106 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1009750d8\n// > <???> @ 0x100975690\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  unsigned int v1; // r14d\n  __int64 v2; // rax\n\n  if ( (unsigned int)sub_100720070(a1->m_secondArray) )\n  {\n    v1 = 0;\n    do\n    {\n      v2 = sub_1007200C0(a1->m_secondArray, v1);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 328LL))(v2, 0);\n      ++v1;\n    }\n    while ( v1 < (unsigned int)sub_100720070(a1->m_secondArray) );\n  }\n  ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_extraSprite->setVisible)(a1->m_extraSprite, 0);\n}", "assembly": "; \n; GJRobotSprite::hideSecondary from 0x1005dd120 to 0x1005dd18a (106 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1009750d8\n; > <???> @ 0x100975690\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\npush    rbp                                                            ; +0x0, 0x1005dd120\nmov     rbp, rsp                                                       ; +0x1, 0x1005dd121\npush    r14                                                            ; +0x4, 0x1005dd124\npush    rbx                                                            ; +0x6, 0x1005dd126\nmov     rbx, rdi                                                       ; +0x7, 0x1005dd127\nmov     rdi, [rdi+2E0h]                                                ; +0xa, 0x1005dd12a\ncall    sub_100720070                                                  ; +0x11, 0x1005dd131\ntest    eax, eax                                                       ; +0x16, 0x1005dd136\njz      short loc_1005DD171                                            ; +0x18, 0x1005dd138\nxor     r14d, r14d                                                     ; +0x1a, 0x1005dd13a\nnop     dword ptr [rax]                                                ; +0x1d, 0x1005dd13d\nmov     rdi, [rbx+2E0h]                                                ; +0x20, 0x1005dd140\nmov     esi, r14d                                                      ; +0x27, 0x1005dd147\ncall    sub_1007200C0                                                  ; +0x2a, 0x1005dd14a\nmov     rcx, [rax]                                                     ; +0x2f, 0x1005dd14f\nmov     rdi, rax                                                       ; +0x32, 0x1005dd152\nxor     esi, esi                                                       ; +0x35, 0x1005dd155\ncall    qword ptr [rcx+148h]                                           ; +0x37, 0x1005dd157\ninc     r14d                                                           ; +0x3d, 0x1005dd15d\nmov     rdi, [rbx+2E0h]                                                ; +0x40, 0x1005dd160\ncall    sub_100720070                                                  ; +0x47, 0x1005dd167\ncmp     r14d, eax                                                      ; +0x4c, 0x1005dd16c\njb      short loc_1005DD140                                            ; +0x4f, 0x1005dd16f\nmov     rdi, [rbx+2F0h]                                                ; +0x51, 0x1005dd171\nmov     rax, [rdi]                                                     ; +0x58, 0x1005dd178\nmov     rax, [rax+148h]                                                ; +0x5b, 0x1005dd17b\nxor     esi, esi                                                       ; +0x62, 0x1005dd182\npop     rbx                                                            ; +0x64, 0x1005dd184\npop     r14                                                            ; +0x65, 0x1005dd185\npop     rbp                                                            ; +0x67, 0x1005dd187\njmp     rax                                                            ; +0x68, 0x1005dd188", "xrefs": ["<???> @ 0x1009750d8", "<???> @ 0x100975690"], "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"}