{"type": "func", "start": 4296016288, "end": 4296016442, "name": "GJBaseGameLayer::playerCircleCollision", "pseudocode": "// \n// GJBaseGameLayer::playerCircleCollision from 0x1001001a0 to 0x10010023a (154 bytes)\n// \n// 0 xrefs:\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:21:20 +0000\n// \n\nchar __fastcall GJBaseGameLayer::playerCircleCollision(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // r15\n  __int64 v5; // rax\n  __int64 v7; // [rsp-38h] [rbp-38h] BYREF\n  float v8; // [rsp-30h] [rbp-30h]\n  float ObjectRadius; // [rsp-2Ch] [rbp-2Ch]\n\n  if ( *(_BYTE *)(*(_QWORD *)(a1 + 3272) + 455LL) != 1 )\n    return GJBaseGameLayer::objectIntersectsCircle();\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n  (*(void (__fastcall **)(__int64 *, __int64))(*(_QWORD *)a3 + 1360LL))(&v7, a3);\n  v8 = cocos2d::ccpDistance(v4, &v7);\n  ObjectRadius = GameObject::getObjectRadius(a3);\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1328LL))(a2);\n  return (float)((float)(*(float *)(v5 + 8) * 0.5) + ObjectRadius) >= v8;\n}", "assembly": "; \n; GJBaseGameLayer::playerCircleCollision from 0x1001001a0 to 0x10010023a (154 bytes)\n; \n; 0 xrefs:\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:21:20 +0000\n; \nmov     rax, [rdi+0CC8h]                                               ; +0x0, 0x1001001a0\ncmp     byte ptr [rax+1C7h], 1                                         ; +0x7, 0x1001001a7\njnz     GJBaseGameLayer__objectIntersectsCircle                        ; +0xe, 0x1001001ae\npush    rbp                                                            ; +0x14, 0x1001001b4\nmov     rbp, rsp                                                       ; +0x15, 0x1001001b5\npush    r15                                                            ; +0x18, 0x1001001b8\npush    r14                                                            ; +0x1a, 0x1001001ba\npush    r12                                                            ; +0x1c, 0x1001001bc\npush    rbx                                                            ; +0x1e, 0x1001001be\nsub     rsp, 10h                                                       ; +0x1f, 0x1001001bf\nmov     rax, [rsi]                                                     ; +0x23, 0x1001001c3\nmov     rdi, rsi                                                       ; +0x26, 0x1001001c6\nmov     rbx, rsi                                                       ; +0x29, 0x1001001c9\nmov     r14, rdx                                                       ; +0x2c, 0x1001001cc\ncall    qword ptr [rax+0C0h]                                           ; +0x2f, 0x1001001cf\nmov     r15, rax                                                       ; +0x35, 0x1001001d5\nmov     rax, [r14]                                                     ; +0x38, 0x1001001d8\nlea     r12, [rbp-30h]                                                 ; +0x3b, 0x1001001db\nmov     rdi, r12                                                       ; +0x3f, 0x1001001df\nmov     rsi, r14                                                       ; +0x42, 0x1001001e2\ncall    qword ptr [rax+550h]                                           ; +0x45, 0x1001001e5\nmov     rdi, r15                                                       ; +0x4b, 0x1001001eb\nmov     rsi, r12                                                       ; +0x4e, 0x1001001ee\ncall    cocos2d__ccpDistance                                           ; +0x51, 0x1001001f1\nmovss   dword ptr [rbp-28h], xmm0                                      ; +0x56, 0x1001001f6\nmov     rdi, r14                                                       ; +0x5b, 0x1001001fb\ncall    GameObject__getObjectRadius                                    ; +0x5e, 0x1001001fe\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x63, 0x100100203\nmov     rax, [rbx]                                                     ; +0x68, 0x100100208\nmov     rdi, rbx                                                       ; +0x6b, 0x10010020b\ncall    qword ptr [rax+530h]                                           ; +0x6e, 0x10010020e\nmovss   xmm0, dword ptr [rax+8]                                        ; +0x74, 0x100100214\nmulss   xmm0, cs:dword_100A03578                                       ; +0x79, 0x100100219\naddss   xmm0, dword ptr [rbp-24h]                                      ; +0x81, 0x100100221\nucomiss xmm0, dword ptr [rbp-28h]                                      ; +0x86, 0x100100226\nsetnb   al                                                             ; +0x8a, 0x10010022a\nadd     rsp, 10h                                                       ; +0x8d, 0x10010022d\npop     rbx                                                            ; +0x91, 0x100100231\npop     r12                                                            ; +0x92, 0x100100232\npop     r14                                                            ; +0x94, 0x100100234\npop     r15                                                            ; +0x96, 0x100100236\npop     rbp                                                            ; +0x98, 0x100100238\nretn                                                                   ; +0x99, 0x100100239", "xrefs": [], "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"}