{"type": "func", "start": 3954012, "end": 3954052, "name": "GJGameLevel::getAverageDifficulty", "pseudocode": "// \n// GJGameLevel::getAverageDifficulty from 0x3c555c to 0x3c5584 (40 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x33266e\n// > LevelInfoLayer::updateLabelValues @ 0x3b2f16\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\nint GJGameLevel::getAverageDifficulty(GJGameLevel *a1)\n{\n  if ( a1->m_ratings <= 4 )\n    return 0;\n  else\n    return j_lroundf();\n}", "assembly": "; \n; GJGameLevel::getAverageDifficulty from 0x3c555c to 0x3c5584 (40 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x33266e\n; > LevelInfoLayer::updateLabelValues @ 0x3b2f16\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\nLDR.W           R3, [R0,#0x180]                                        ; +0x0, 0x3c555c\nCMP             R3, #4                                                 ; +0x4, 0x3c5560\nBLE             loc_3C5580                                             ; +0x6, 0x3c5562\nVLDR            S14, [R0,#0x184]                                       ; +0x8, 0x3c5564\nVMOV            S15, R3                                                ; +0xc, 0x3c5568\nVCVT.F32.S32    S14, S14                                               ; +0x10, 0x3c556c\nVCVT.F32.S32    S15, S15                                               ; +0x14, 0x3c5570\nVDIV.F32        S15, S14, S15                                          ; +0x18, 0x3c5574\nVMOV            R0, S15                                                ; +0x1c, 0x3c5578\nB.W             j_lroundf                                              ; +0x20, 0x3c557c\nMOVS            R0, #0                                                 ; +0x24, 0x3c5580\nBX              LR                                                     ; +0x26, 0x3c5582", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x33266e", "LevelInfoLayer::updateLabelValues @ 0x3b2f16"], "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"}