{"type": "func", "start": 4296246144, "end": 4296246232, "name": "GJBaseGameLayer::updateAllObjectSection", "pseudocode": "// \n// GJBaseGameLayer::updateAllObjectSection from 0x100138380 to 0x1001383d8 (88 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::levelSettingsUpdated @ 0x1000ae737\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:51 +0000\n// \n\nunsigned int *__fastcall GJBaseGameLayer::updateAllObjectSection(_QWORD *a1)\n{\n  unsigned int *result; // rax\n  _QWORD *v2; // r14\n  unsigned __int64 v3; // r15\n\n  result = (unsigned int *)a1[410];\n  if ( result )\n  {\n    result = *((unsigned int **)result + 7);\n    if ( *result )\n    {\n      v2 = *((_QWORD **)result + 2);\n      v3 = (unsigned __int64)&v2[*result - 1];\n      do\n      {\n        if ( !*v2 )\n          break;\n        result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1368LL))(a1);\n        ++v2;\n      }\n      while ( (unsigned __int64)v2 <= v3 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateAllObjectSection from 0x100138380 to 0x1001383d8 (88 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::levelSettingsUpdated @ 0x1000ae737\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:51 +0000\n; \nmov     rax, [rdi+0CD0h]                                               ; +0x0, 0x100138380\ntest    rax, rax                                                       ; +0x7, 0x100138387\njz      short locret_1001383D7                                         ; +0xa, 0x10013838a\npush    rbp                                                            ; +0xc, 0x10013838c\nmov     rbp, rsp                                                       ; +0xd, 0x10013838d\npush    r15                                                            ; +0x10, 0x100138390\npush    r14                                                            ; +0x12, 0x100138392\npush    rbx                                                            ; +0x14, 0x100138394\npush    rax                                                            ; +0x15, 0x100138395\nmov     rax, [rax+38h]                                                 ; +0x16, 0x100138396\nmov     ecx, [rax]                                                     ; +0x1a, 0x10013839a\ntest    rcx, rcx                                                       ; +0x1c, 0x10013839c\njz      short loc_1001383CD                                            ; +0x1f, 0x10013839f\nmov     rbx, rdi                                                       ; +0x21, 0x1001383a1\nmov     r14, [rax+10h]                                                 ; +0x24, 0x1001383a4\nlea     r15, [r14+rcx*8]                                               ; +0x28, 0x1001383a8\nadd     r15, 0FFFFFFFFFFFFFFF8h                                        ; +0x2c, 0x1001383ac\nmov     rsi, [r14]                                                     ; +0x30, 0x1001383b0\ntest    rsi, rsi                                                       ; +0x33, 0x1001383b3\njz      short loc_1001383CD                                            ; +0x36, 0x1001383b6\nmov     rax, [rbx]                                                     ; +0x38, 0x1001383b8\nmov     rdi, rbx                                                       ; +0x3b, 0x1001383bb\ncall    qword ptr [rax+558h]                                           ; +0x3e, 0x1001383be\nadd     r14, 8                                                         ; +0x44, 0x1001383c4\ncmp     r14, r15                                                       ; +0x48, 0x1001383c8\njbe     short loc_1001383B0                                            ; +0x4b, 0x1001383cb\nadd     rsp, 8                                                         ; +0x4d, 0x1001383cd\npop     rbx                                                            ; +0x51, 0x1001383d1\npop     r14                                                            ; +0x52, 0x1001383d2\npop     r15                                                            ; +0x54, 0x1001383d4\npop     rbp                                                            ; +0x56, 0x1001383d6\nretn                                                                   ; +0x57, 0x1001383d7", "xrefs": ["LevelEditorLayer::levelSettingsUpdated @ 0x1000ae737"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}