{"type": "func", "start": 5371492976, "end": 5371493086, "name": "GJRobotSprite::hideSecondary", "pseudocode": "// \n// GJRobotSprite::hideSecondary from 0x1402a7a70 to 0x1402a7ade (110 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14057c4b0\n// > <???> @ 0x14057ca18\n// > <???> @ 0x1406d2150\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 GJRobotSprite::hideSecondary(GJRobotSprite *a1)\n{\n  unsigned int i; // ebx\n  struct cocos2d::CCObject *v3; // rax\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_secondArray); ++i )\n  {\n    v3 = cocos2d::CCArray::objectAtIndex(a1->m_secondArray, i);\n    ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v3->__vftable[4].update)(v3, 0);\n  }\n  a1->m_extraSprite->setVisible(a1->m_extraSprite, 0);\n}", "assembly": "; \n; GJRobotSprite::hideSecondary from 0x1402a7a70 to 0x1402a7ade (110 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14057c4b0\n; > <???> @ 0x14057ca18\n; > <???> @ 0x1406d2150\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402a7a70\npush    rdi                                                            ; +0x5, 0x1402a7a75\nsub     rsp, 20h                                                       ; +0x6, 0x1402a7a76\nmov     rdi, rcx                                                       ; +0xa, 0x1402a7a7a\nxor     ebx, ebx                                                       ; +0xd, 0x1402a7a7d\nmov     rcx, [rcx+2F8h]                                                ; +0xf, 0x1402a7a7f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x16, 0x1402a7a86\ntest    eax, eax                                                       ; +0x1c, 0x1402a7a8c\njz      short loc_1402A7AC1                                            ; +0x1e, 0x1402a7a8e\nmov     rcx, [rdi+2F8h]                                                ; +0x20, 0x1402a7a90\nmov     edx, ebx                                                       ; +0x27, 0x1402a7a97\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x29, 0x1402a7a99\nxor     edx, edx                                                       ; +0x2f, 0x1402a7a9f\nmov     rcx, rax                                                       ; +0x31, 0x1402a7aa1\nmov     r8, [rax]                                                      ; +0x34, 0x1402a7aa4\ncall    qword ptr [r8+140h]                                            ; +0x37, 0x1402a7aa7\nmov     rcx, [rdi+2F8h]                                                ; +0x3e, 0x1402a7aae\ninc     ebx                                                            ; +0x45, 0x1402a7ab5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x1402a7ab7\ncmp     ebx, eax                                                       ; +0x4d, 0x1402a7abd\njb      short loc_1402A7A90                                            ; +0x4f, 0x1402a7abf\nmov     rcx, [rdi+308h]                                                ; +0x51, 0x1402a7ac1\nxor     edx, edx                                                       ; +0x58, 0x1402a7ac8\nmov     rax, [rcx]                                                     ; +0x5a, 0x1402a7aca\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x1402a7acd\nadd     rsp, 20h                                                       ; +0x62, 0x1402a7ad2\npop     rdi                                                            ; +0x66, 0x1402a7ad6\njmp     qword ptr [rax+140h]                                           ; +0x67, 0x1402a7ad7", "xrefs": ["<???> @ 0x14057c4b0", "<???> @ 0x14057ca18", "<???> @ 0x1406d2150"], "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"}